Suppose there is a value is storied in a session variable $_SESSION['record']. And internet connection goes and comes again. This happens with unreliable ISPs. How to preserve the old value of $_SESSION['record'] in the new situation. Anybody out there to help me. Regards, Vinod
Session variables should be preserved as long as the session hasn't expired and the user has the same session id. They can leave the site and come back and still have the same session as long as their browser didn't close. A interrupted connection should not destroy a session. Are you seeing sessions that are getting destroyed in this manner?
That's a good question. If the internet drops the session wont be preserved as you're seeing. Cookies would solve this problem but aren't as secure since they're stored client side. If I run into a solution I will PM you