View Single Post
Old 01-18-2003, 06:30 PM   #8 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,503
sde is on a distinguished road
haah .. yes, you don't use the 'GET' method with passwords.

your php server must support sessions. i think i made a mistake by registering 2 variables in 1 line of session_register.

replacing the 2 session_lines with this:
PHP Code:
session_start(); 
session_register(username);
session_register(password); 
if you have weird trouble, like it fails everytime, .. close the browser and re-open it. the first time you login it should be ok no matter what. then if sessions are working, you will be able to navigate through your site with the code you have above on every page.
sde is offline   Reply With Quote