Page 1 of 1

[SOLVED] Recovering sessions after linking to external site

Posted: Mon Jun 14, 2004 10:03 pm
by jim_73_mk1
I've got to do a bit more research here but I have yet to find an answer. I have a site where I am using sessions. While the session is running I link out to another site and once the work there has completed successfully it is sent back to my site. Once the browser has returned to my site the session ID is different and all the session information is lost. I am also using frames and have successfully passed the sessionID from frame to frame with no trouble. It only looses the session when I link out to the other site.

Is there a work around for this and how is it done.

Jim

Posted: Mon Jun 14, 2004 10:08 pm
by infolock
you may want to look into either setting a cookie, or setting your session_timeout to 0

Unable to use cookies

Posted: Tue Jun 15, 2004 12:30 am
by jim_73_mk1
This website is unable to use cookies so that is not an option. I am assuming that session_timeout = 0 would then make the session persistant and then a chron job would have to be created to delete old sessions?

Jim

Stupid me!

Posted: Tue Mar 01, 2005 2:57 am
by jim_73_mk1
:oops: Stupid me :oops: I forgot to enable sessions on the page the users were sent back to. As soon as I did that the session variables were all there....