note 46430 added to function.session-start

From: Date: Mon, 11 Oct 2004 13:21:09 +0000
Subject: note 46430 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-78344@lists.php.net to get a copy of this message
The following behavior is given if the client uses the IE, the WinXP Service Pack 2 (plain) and the Server uses the "session_start()" function: If history.back() (Javascript) or the Back-Button is used and the previous site is a destination of a POST Data Form, IE will send a error message "Page cannot be found - Server or DNS unavailable". Insert this header in your php script after the session starts to avoid the issue: header("Cache-control: private"); Tornby ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46430 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46430&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46430&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78344) next »