Posted by Shelly on 05/22/05 16:46
"Oli Filth" <catch@olifilth.co.uk> wrote in message
news:ac%je.442$RG2.129@newsfe6-gui.ntli.net...
> Shelly wrote:
>> I set a session variable on error in the login page and then call the
>> login page again. I test on that session variable but it shows as not
>> set. I checked with an echo immediately after setting the error session
>> variable so I am 100% positive that it is set. The recursive entry to the
>> login page echos a message that the error session variable is unset.
>>
>> Any clues?
>>
>> Here is the setting code and the testing code (commented out)"
> <... SNIP CODE...>
>
> Did you call session_start() at any point?
Yes. Anyway, the page is calling itself. In order to have set it in the
first place I needed to have called session_start().
Shelly
Navigation:
[Reply to this message]
|