>Is there a way to programatically (inside a session) change session duration
>for the current session only? (using cookie-based sessions) ?

Wild Guess:

What if you use the PHP functions to alter the php.ini value for session
time out in that script before you call session_start()?...



Totally Stupid, Ugly, Ikcy, Hack Answer:

PHP is just sending Cookies with the session ID and a time-frame for their
duration...  So you send the same Cookie with a different time duration... 
It's a bit tricky cuz different browsers will response differently to
getting the same cookie twice, and they are order-dependent, so you might
need to send your cookie, call session_start() and send your cookie
*again*...

Still not gonna work on every browser, but may be within acceptable
market-penetration levels...

This is just *SOOO* wrong to do, but it may let you limp by until you come
up with a better answer...

-- 
Like Music?  http://l-i-e.com/artists.htm


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

Reply via email to