Fw: No matter what I do, I just don't understand sessions?

From: Date: Mon, 14 Apr 2003 04:08:48 +0000
Subject: Fw: No matter what I do, I just don't understand sessions?
Groups: php.windows 
Request: Send a blank email to php-windows+get-19416@lists.php.net to get a copy of this message
I don't know what it is or what I am missing, but this is really getting to be a real pain. I have a form on a page users input info. When submit is clicked it calls itself ($PHP_SELF). the I want to show the results of the info that was inputted. I am trying to set a session variable for this and then use an if statement to determine what function needs to be called. Not sure if I'm explaining this right, so here is what I have. session_start() if(!isset($_SESSION['continue'] ) { gotofunction_1(); $_SESSION['continue'] = "yes") } elseif(isset($_SESSION['continue'] ) { gotofunction_2(); session_destroy(); } Am I doing this wrong? Everytime I read another article on this it just screws me up even more. Any help is truly appreciated.

« previous php.windows (#19416) next »