Hi,

All the session functions check to see if you have a session running first
before starting a session, to prevent you from starting two sessions by
accident.  If for some reason you want to start another session, you can do
that by supplying your own session id to the function session_start() to
start another session.

However, you do not need to do that for your purposes.  You can start the
only  session you need when they submit their form info, and to keep them
from signing up twice, before you record the data use an if statement to
check if there is a session(if ($PHPSESSID)).  If there is already a
session, do not record the data, and display a message: "You have already
signed up, proceed to login." and redirect them to the login page.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to