Reply to Re: [PHP] Sessions - going back in browser

Your name:

Reply:


Posted by Greg Donald on 04/19/05 20:02

On 4/19/05, Craig Donnelly <craig@deconstructor.net> 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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация