CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    160

    expiration of session variables

    i have my session.cookie_lifetime set to 0 does that mean that any variable i store as a session on the server like

    Code:
    $_SESSION['user'] = "john";
    would be set for ever or does it loose its value after a given period of time?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: expiration of session variables

    Zero means that the cookie expires upon closing the browser.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

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