Re: Sessions - going back in browser

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

 



On 4/19/05, Craig Donnelly <craig@xxxxxxxxxxxxxxxxx> wrote:
> I had an issue that I needed to be able to go back in the browser while in a
> session without getting "page has expired", I was reading through the manual
> and came across a comment about adding the following to the sessions page to
> allow users to traverse back:

The browser back button doesn't make PHP sessions expire.  It's more
likely your session id is simply being lost when you go back to the
page where you just did a form post.

You might try transparent sessions so you no longer have to pass a
session id around:

ini_set( 'session.use_trans_sid', 1 );

This works great until you get to where you need multiple load
balanced web servers.


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- 
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