Re: [PHP] Set PHP session expire to 2 months

2008-02-25 Thread Daniel Brown
On Mon, Feb 25, 2008 at 11:54 AM, Manuel Barros Reyes <[EMAIL PROTECTED]> wrote: > The question is asked only in the index.php and the answer is stored > in $_SESSION["pais"]. If the user tries to enter the site once again > and the session variable is still set the question is not asked again >

RES: [PHP] Set PHP session expire to 2 months

2008-02-25 Thread Thiago Pojda
] Set PHP session expire to 2 months Hi, I'm working on a site that needs that once the user chooses his country the question should not be asked again (while the user doesn't manually delete the cookies in his browser). The question is asked only in the index.php and the answer is stor

[PHP] Set PHP session expire to 2 months

2008-02-25 Thread Manuel Barros Reyes
Hi, I'm working on a site that needs that once the user chooses his country the question should not be asked again (while the user doesn't manually delete the cookies in his browser). The question is asked only in the index.php and the answer is stored in $_SESSION["pais"]. If the user tries to en

[PHP] Session Expire...

2004-08-04 Thread Scott Fletcher
Run that again about php.ini configuration on the session expiration. I looked up at http://www.php.net/manual/en/ref.session.php and it said --snip-- session.cache_limiter specifies cache control method to use for session pages (none/nocache/private/private_no_expire/public). Defaults to nocache

Re: [PHP] session expire

2003-10-08 Thread Chris Shiflett
--- redips <[EMAIL PROTECTED]> wrote: > I know that if I set a session, by default it will expire when the > browser closes. Can I also set a timeout? You can look through your php.ini, searching for the word session. I prefer, however, to keep a timestamp of the user's last access in the session

Re: [PHP] session expire

2003-10-08 Thread Marek Kilimajer
Start here: www.php.net/session You should read it from the main heading to the last line of the last comment. redips wrote: I know that if I set a session, by default it will expire when the browser closes. Can I also set a timeout? For example, if the session is idle for 30 minutes it will e

[PHP] session expire

2003-10-07 Thread redips
I know that if I set a session, by default it will expire when the browser closes. Can I also set a timeout? For example, if the session is idle for 30 minutes it will expire or if the user closes the browser, it will also expire. I know I can do one or the other, but what about both? Thanks.