> -----Original Message-----
> From: Myrage [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 5 December 2002 3:55 PM
> Subject: [PHP] passing sessions via POST
> How do we pass sessions via post ?? I seem to lose the session once it has
> been submitted through the POST Method.
> Any help??

to set sessions 1st make sure session_start(); is towards, if not at, the
top of every page
to set session vars $_SESSION[var] = $_POST[var]
to call a session var echo $_SESSION[var];


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to