sessions problem (and spec. Mozilla vs Opera)

From: Date: Sun, 15 Apr 2001 08:41:30 +0000
Subject: sessions problem (and spec. Mozilla vs Opera)
Groups: php.general 
Request: Send a blank email to php-general+get-48622@lists.php.net to get a copy of this message
On my login page (index.php) I have at the top <? session_start(); session_destroy(); The intended function of which is to stop people from hitting the Back button to reenter the site after having logged out (which bring people to the page index.php). Now, hitting BACK on Mozilla results in failed authentication and the app closes. Hitting BACK on Opera (5.0b7 Linux) you get into the app again but selecting anything from the menus results in failed authentication. Which one is behaving correctly? Is it a bug in Opera (hopefully). If, when logged in you go somewhere else, e.g. www.sunet.se, THEN hit back you get back in. Is there a way of stopping this? Martin S.

« previous php.general (#48622) next »