On Wed, July 12, 2006 6:20 pm, Daevid Vincent wrote:
>> Sequence of events:
>> script starts
>> you rm -rf /tmp/sess_*
>> script writes out data
>> script ends
>>
>> Exactly WHAT do you think "should" happen in this case?...
>
> I expect this to work like it USED TO WORK! Bug or not.
>
> I expect:
> Script starts
> Calls session_start(1234)
> No existing sess_1234 file.
> Creates a new EMPTY sess_1234
> I make $_SESSION['authorized'] = true and PHP writes at that time
> I rm /tmp/sess_1234
> Script ends
>
> Page load again.
> Calls session_start(1234).
> No existing sess_1234 file.
> Creates a new EMPTY sess_1234
> Therefore $_SESSION['authorized'] doesn't exist == false
>
> But what happens is that PHP actually is writing a new sess_1234
> WITH ALL THE SHIT IT HAD IN RAM
>
> *sigh*
>
> Why is this so complicated for anyone to understand?

Why did you rely on an undocumented feature hack?

And why would you expect it to continue working after you relied on it?

Neither of these is a Good Idea, and the combination together...

Well, the future is not looking bright for you.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to