RE: [PHP] How do I prevent a session from rebuilding itself?

2006-07-13 Thread Richard Lynch
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:

Re: [PHP] How do I prevent a session from rebuilding itself?

2006-07-13 Thread tedd
At 11:58 AM +0100 7/13/06, Andrew Brampton wrote: >If anyone reads DailyWTF, then you might remember this post: >http://thedailywtf.com/forums/thread/78892.aspx >Explaining the dangers of "rm -rf /tmp" > >I'm sure you won't fall victim to this, but it is a fun read :) > >Andrew Fun read. But the t

Re: [PHP] How do I prevent a session from rebuilding itself?

2006-07-13 Thread Andrew Brampton
If anyone reads DailyWTF, then you might remember this post: http://thedailywtf.com/forums/thread/78892.aspx Explaining the dangers of "rm -rf /tmp" I'm sure you won't fall victim to this, but it is a fun read :) Andrew - Original Message - From: "Daevid Vincent" <[EMAIL PROTECTED]> T

RE: [PHP] How do I prevent a session from rebuilding itself?

2006-07-13 Thread Ford, Mike
On 13 July 2006 00:20, 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 expec

RE: [PHP] How do I prevent a session from rebuilding itself?

2006-07-12 Thread Daevid Vincent
> 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 fil

Re: [PHP] How do I prevent a session from rebuilding itself?

2006-07-12 Thread Richard Lynch
On Tue, July 11, 2006 4:27 pm, Daevid Vincent wrote: > I've noticed a 'feature' that seems to be causing me some pain. > > When a user logs in, we store various pieces of info and their user > class in > a $_SESSION variables. > > This includes a flag saying that they've ben authenticated. > > I wo

RE: [PHP] How do I prevent a session from rebuilding itself?

2006-07-12 Thread Daevid Vincent
> > I would expect that if I 'rm -rf /tmp/sess_*' that the user > would get > > prompted to re-login (since the flag is not set). > > Does it say someplace in the manual that you should be able > to do that? > Or is this a case of what you expect is not what the rest of the world > expects? Th

Re: [PHP] How do I prevent a session from rebuilding itself?

2006-07-11 Thread Robert Cummings
On Tue, 2006-07-11 at 17:27, Daevid Vincent wrote: > I've noticed a 'feature' that seems to be causing me some pain. > > When a user logs in, we store various pieces of info and their user class in > a $_SESSION variables. > > This includes a flag saying that they've ben authenticated. > > I wou