RE: [Phplib-users] Auth working with a twist
Brought to you by:
nhruby,
richardarcher
From: Rob H. <rob...@ws...> - 2002-10-13 01:20:15
|
So it is Gian's fault ;-). Seriously, I wonder if it is a php thing. It only seems to happen inside a frame though... Rob Hutton Web Safe www.wsafe.com ********************************************************************** Introducing Symantec Client Security - Integrated Anti-Virus, Firewall, and Intrusion Detection for the Client. Learn more: http://enterprisesecurity.symantec.com/symes238.cfm?JID=2&PID=11624271 View our Symantec Client Security Demo: http://enterprisesecurity.symantec.com/symes238.cfm?JID=3&PID=11624271 Download the Symantec Client Security Fact Sheet: http://enterprisesecurity.symantec.com/symes238.cfm?JID=4&PID=11624271 Download the Symantec Client Security Brochure: http://enterprisesecurity.symantec.com/symes238.cfm?JID=5&PID=11624271 > -----Original Message----- > From: php...@li... > [mailto:php...@li...]On Behalf Of Mike Green > Sent: Saturday, October 12, 2002 9:05 PM > To: rob...@ws... > Cc: Phplib-Users > Subject: Re: [Phplib-users] Auth working with a twist > > > Rob Hutton wrote: > > > So, first of all, has anyone seen a browser refresh a frame > immediately > > when it is loaded before. > > Yes. > > I had this happen to me for the first time yesterday when I put a > statement on a > page which had the following form: > session_start(); > $reset = false; > if ($reset) { > unset($_SESSION); > } > If I made $reset = true I observed the same phenomenon that you > report: the > browser immediately refreshed the page. This was/is not a problem > for what I am > doing, since I only set $reset = true at certain points during > the development > when I have made changes to a class which cause the objects to be > no longer > valid if they are being saved by the session. And I suspect that > what I am doing > is a bad way to do even what I want to do. But for the sake of > just getting on > with the job and since I don't expect to keep the above statements in the > production code, I haven't pursued the issue further. > > I'm reporting this here because there is a possibility that it > could give a clue > to what is happening in your case. > > I am not using PHPLib at this point in this project. So the > browser immediately > refreshing the page is not specially a PHPLib problem. It looks, > however, as if > it can be caused by starting a session and then un-setting the $_SESSION > variable. Thus it might be that PHPLib has something embedded in > it which has > the same effect as that bit of kludgy code of mine above. > > For what it is worth... > > Cheers! > > Mike Green > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > |