note 68675 added to function.session-write-close

From: Date: Sun, 06 Aug 2006 18:47:06 +0000
Subject: note 68675 added to function.session-write-close
Groups: php.notes 
Request: Send a blank email to php-notes+get-115595@lists.php.net to get a copy of this message
After a bit of struggle I found this workaround pretty useful. I build an admin part for my site, where left pane is navigation one, and right one displays some content. Both frames use sessions. But, the only situation where these frames are being loaded simultaneously -- at the very beginning, when user enters the framed page. To avoid nasty hassle when one frame overwrites session of another, I decided to show only left (navigation) pane whe user enters the page. On the right one, simply a page with "welcome" message is shown, and no sessions are used. Then, when user clicks links on the left pane, only right pane is updated. Therefore, only one frame is being loaded at the time, and no sessions lockout happens. ---- Server IP: 66.163.161.117 Probable Submitter: 84.177.253.205 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.session-write-close.php Edit -- https://master.php.net/note/edit/68675 Del: integrated -- https://master.php.net/note/delete/68675/integrated Del: useless -- https://master.php.net/note/delete/68675/useless Del: bad code -- https://master.php.net/note/delete/68675/bad+code Del: spam -- https://master.php.net/note/delete/68675/spam Del: non-english -- https://master.php.net/note/delete/68675/non-english Del: in docs -- https://master.php.net/note/delete/68675/in+docs Del: other reasons-- https://master.php.net/note/delete/68675 Reject -- https://master.php.net/note/reject/68675 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115595) next »