Re: [PHP] Sessions and variables dum question

2002-06-18 Thread Justin French
When you're dealing with session variables, it's a good idea to refer to them using the new global variables. "; echo $_SESSION['pass'] . ""; } else { echo "not logged in"; } ?> Of course this is no where near production/secure code :D Justin on 19/06/02 1:54 AM, web

[PHP] Sessions and variables dum question

2002-06-18 Thread webmaster mbtradingco
Hi, maybe I'm doing something wrong but I can't figure out what. I have a little script that is supposed to handle two variables from a session, so when a user logs in: Session start() $user = "user" $pass = "pass"... redirects to another page. Now on the index page it reads Session start() G