Re: Session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Deleo

We had an interesting conversation on this last just last week regarding the length of sessions.

The title of the thread is "Sessions not destroyed". Try searching the archives with that text.

I believe Marek's and my own messages may have the information you're looking for - basically, PHP doesn't provide a mechanism to *guarantee* expiry of sessions - only to deal with garbage-collecting defunkt ones. Any explicit session-expiry will have to be implemented by the end-user; i.e. you.

Hope this helps

Cheers

Chris

Deleo Paulo Ribeiro Junior wrote:

Hello!

I am trying to make my pages last for only 1 minute but I am not been successfull.

I have already changed session.cache_expire = 1 in php.ini (USING RedHat) but nothing happens.

I would like the pages to last only for 1 minute, this means that if the user do not use the site within 1 minute all the session variables will be lost and he will have to log on again (I am using session variables to store name and password).

Can anyone help me?

Thank you

Deleo




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux