Jason Wong and Larry Brown,
Nevermind, it's working now. Not sure how. I performed the same test many
times, but this time when I tried it, it worked. It might be that I manually
deleted the older session variables. I did read the notes on php.net for
session_unset(), very informative. Thanks to both of you for your help. :)
> -----Original Message-----
> From: Larry Brown [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 9:31 AM
> To: PHP List; @ Nilaab
> Subject: RE: [PHP] How do I initialize a page to do something ONCE
> 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
> 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
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php