RE: [PHP] How do I initialize a page to do something ONCE
| From: | Larry Brown | Date: | Fri, 22 Nov 2002 15:30:33 +0000 |
| Subject: | RE: [PHP] How do I initialize a page to do something ONCE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125621@lists.php.net to get a copy of this message | ||
Your first post stated..
> The only problem is that it is not processing the second if block --
if($start_over == 1) -- unless I actually set start_over=1 in the get
string.
>
Your second sounds like it is executing the second block...
>The variable $initialize contains "int(1)", so it does set itself within
the last if statement.
If the second block is being executed...
Did you check out php.net and the comments about session_unset()?
If it is not, are you closing the browser between tests? The session
information stays open even after leaving the site and coming back.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388