|
-
Jul 29th, 2003, 10:14 AM
#1
Thread Starter
Lively Member
cookies...[RESOLVED thanks]
hello,
I need to make a login page.
back when I used to program in ASP I was reading the username and pasword comparing it to thr one in the databse and if it was correct then I sould setup a cookie with a TRUE value and then in each page I would have check if the cookie exist and if so I would have know that the user is still loged.
when the user closes the browzer the cookie vanished. and the session is over.
so why am I telling you all this?
because in PHP I cannot do that... it tells me to put the SetCookie() function on top of the page so I cannot check the database before puting the cookie...
what can I do?
I hope the question is clear...
thanks
Last edited by yair24; Jul 31st, 2003 at 03:58 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|