Destroying Sessions... (Page Expired....)
| From: | Kondwani Spike Mkandawire | Date: | Thu, 15 Aug 2002 15:49:40 +0000 |
| Subject: | Destroying Sessions... (Page Expired....) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112787@lists.php.net to get a copy of this message | ||
I have my Sessions Started in a different function...
I have a different function displaying a form dependent
on input... At the end of the body of the Script
(The Script that is not part of any function
//based on an online example by: URS Gehrig...
I try to destroy the session.. This isn't working
i.e when I click on the Back Button on the Browser
it returns to the initial page (it should read Page
Expired)... Any ideas...
Here is how its going...
SessionRegistration...//returns 1 on successful Session Registration
session_start()...
ShowForm Function...
if Session Successfully Registered..
Do something and then kill the Session
else
Show Form again...