Click to See Complete Forum and Search --> : how to refresh a session
hobee
October 13th, 2005, 01:25 AM
Hi everyone, I got a question here. I am trying to store some data in $_SESSION , but I found that those data cannot be refresh even the session id is different each time, the data stored inside $_SESSION is the same, what's going on? Am I doing something wrong? I have no clue.
Please help.
dave2k
October 13th, 2005, 03:43 AM
Try closing the browser and opening again - does this work? A session last only as long as a users browser is open.
hobee
October 13th, 2005, 03:49 AM
It didn' work. I have to each time delete the Temporary Internet Files folder in order to clear the value in $_SESSION. Is it a MUST?
dave2k
October 13th, 2005, 03:58 AM
You may have to change the php.ini setting gc_maxlifetime. Try looking up on that.
gilly914
October 17th, 2005, 10:21 PM
I'm very not sure about this...
but I think it might be that you have some kind of nasty spyware on your computer...
Or maybe just something with your system settings is messed up, and is saving the session even though you closed the Explorer window.
Try searching it on Microsoft's site, maybe you're not the only one that this happened to...
Hope I Helped...
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.