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! Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
jaymc Posted January 8, 2007 Author Share Posted January 8, 2007 Cheers! Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.