as long as your usernames are unique you should never have a problem.
(assuming everything else works as planned.)

it should...

i want to use sessions for a login system and stuff too but i want it to
check to see if the person is logged in before going to the login section...
if the session isnt valid then require a login...

is this code valid??
<?php
if(session_start($name)) {/*do whatever if person is logged in already*/
}
else {
/*do whatever if session doesnt exist*/
}

if that does work then all i need to do is figure out how to do a
session_distroy() to delete it after logged out...

any ideas?

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

Reply via email to