Topic awaiting preservation: Sessoin problems... :/ (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
posted 06-01-2004 12:01
I am currently working on the login part of my script... it does all the database checking to see if everything is correct and that works but now im working on the session part this is what I have... code: if ($thepassfromdb[0]===$thesubmittedpass){
|
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-01-2004 13:15
a) read the documentation - session_register and $_SESSION [note case] should not be used at the same time |
Paranoid (IV) Inmate From: beyond the gray sky |
posted 06-01-2004 13:21 |
Nervous Wreck (II) Inmate From: |
posted 06-01-2004 21:00
im a complete newbie when it comes to sessions & cookies... this is my first attempt :/ |
Bipolar (III) Inmate From: Australia |
posted 06-02-2004 01:51
I sorted all this crap out for myself not that long ago, giving me a login using cookies and php sessions which works quite well with no js or anything at all, ill take a look at it again tonight and post what i know (thats about 12 hours from now) |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-02-2004 09:22
try our very own Basic PHP Session Tutorial |
Nervous Wreck (II) Inmate From: |
posted 06-02-2004 13:32
I read that... infact thats why I joined this forum was to get help with that... becayse it didn't help me... I was told by someone that you have to register the variable name first... |
Nervous Wreck (II) Inmate From: |
posted 06-02-2004 15:01
lmfao after talking with a friend for a while about it we figured out my problem... appearantly $_SESSION had to be all caps like that... |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-02-2004 15:50
which I had told you... |
Bipolar (III) Inmate From: |
posted 06-03-2004 01:45
lmao never seen the "note case" sorry about that lol |