[PHP] Change the session timeout within a php-script
Hi, is it possible to change the session timeout from within a script. I can't change it in the *.ini-file because I have not the sufficient access rights. Jens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Change the session timeout within a php-script
set_time_limit($seconds) --Toby - Original Message - From: "Jens Rehphler" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 9:02 AM Subject: [PHP] Change the session timeout within a php-script Hi, is it possible to change the session timeout from within a script. I can't change it in the *.ini-file because I have not the sufficient access rights. Jens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Change the session timeout within a php-script
Setting the $seconds value to 0 makes the timeout value of the script unlimited. If you're having problems with the browser timing out, try sending a space every few seconds to keep the connection open. If I'm still misunderstanding your question, my apologies. --Toby - Original Message - From: "Jens Rehphler" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: "Toby Butzon" [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 1:05 PM Subject: Re: [PHP] Change the session timeout within a php-script I think you understood me wrong. I don't want to change (or limit) the execution time of a script. I want to change the lifetime of a http session. Toby Butzon wrote: set_time_limit($seconds) Jens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]