jaymc Posted January 8, 2007 Share Posted January 8, 2007 I create a session on a page on the following domain: www.site.comHow can I make that session available on chat.site.com domainIt obviously doesnt carryThanks! Link to comment https://forums.phpfreaks.com/topic/33394-session/ Share on other sites More sharing options...
trq Posted January 8, 2007 Share Posted January 8, 2007 You cant. You'll need to pass whatever data you need via either GET or POST and then create a new session with that.Another way is to store the session data into a database, then pass the id via the url. From there you can retrieve the session data back from the database. Link to comment https://forums.phpfreaks.com/topic/33394-session/#findComment-156109 Share on other sites More sharing options...
jaymc Posted January 8, 2007 Author Share Posted January 8, 2007 Cheers! Link to comment https://forums.phpfreaks.com/topic/33394-session/#findComment-156116 Share on other sites More sharing options...
jaymc Posted January 9, 2007 Author Share Posted January 9, 2007 I've hit a new problem nowStep one : SESSION created on site.comStep two : SESSION passed to chat.site.com via GET then a cookie created with the GET datastep three (problem) link clicked on chat.site.com pointing to site.com/messages/index.php. No session read by messages/index.php as session is not able to be passed from chat.site.com to site.comCant use get feature as the session is being used as a form of identification and authorisationbasically, I need to pass a username from chat.site.com to site.com and I cant use GET as it can be manipulated. It has to be done with a SESSION so members can inject a different username and gain access Link to comment https://forums.phpfreaks.com/topic/33394-session/#findComment-156706 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.