| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Design on ice
|
Gay session variables
I'm pretty new to PHP and all that crap, but for some reason I'm having problems storing session variables (yes, I have started a session). Here's some example code: Code:
For some reason when I execute this by entering the correct details and posting the form, the session variable isn't stored and so it returns to the login page?? |
|
|
|
|
|
#3 (permalink) | |
|
Spare Parts
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 4,717
|
Quote:
When did gay become a description that can be used for bad things, I have heard this as the case elsewhere. Yes for camp or girly. Celebrity magazines are gay. Big Brother is gay. Tom Cruise is gay. Would you say nigger session variables? |
|
|
|
|
#6 (permalink) |
|
Shitcasket™
|
Queer. Freelance Brighton | Design Agency Brighton | Twitter | Linkedin | Plurk
Follow DT updates on Twitter: http://twitter.com/designerstalk |
|
|
|
#8 (permalink) |
|
Barney army!
Join Date: Mar 2003
Location: London
Posts: 696
|
Not just the use of equality instead of assignment, but you'll probably want to call session_write_close() before you send you're header and exit. http://uk2.php.net/manual/en/functio...rite-close.php Luke Redpath .::. Software Engineer .::. Reevoo - Real Reviews From Real Customers
|
|
|
|
#9 (permalink) | |
|
Design on ice
|
Quote:
Nah session variables are white... But yeah, cheers for the help - I knew it was something retarded that I'd done |
|
|
![]() |