CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Posts
    30

    how to refresh a session

    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.

  2. #2
    Join Date
    Aug 2005
    Location
    southampton, UK
    Posts
    1,320

    Re: how to refresh a session

    Try closing the browser and opening again - does this work? A session last only as long as a users browser is open.
    With sufficient thrust, pigs fly just fine. However, this is not
    necessarily a good idea. It is hard to be sure where they are going to
    land, and it could be dangerous sitting under them as they fly
    overhead. -- RFC 1925

  3. #3
    Join Date
    Sep 2005
    Posts
    30

    Re: how to refresh a session

    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?

  4. #4
    Join Date
    Aug 2005
    Location
    southampton, UK
    Posts
    1,320

    Re: how to refresh a session

    You may have to change the php.ini setting gc_maxlifetime. Try looking up on that.
    With sufficient thrust, pigs fly just fine. However, this is not
    necessarily a good idea. It is hard to be sure where they are going to
    land, and it could be dangerous sitting under them as they fly
    overhead. -- RFC 1925

  5. #5
    Join Date
    Jul 2004
    Location
    Holy Land
    Posts
    306

    Re: how to refresh a session

    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...
    Rate this post if you found it useful!
    10X, gilly914

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured