|
Posted by Matthew Weier O'Phinney on 04/16/05 17:32
* Dasmeet Singh <singhdasmeet@gmail.com> :
> Just wanted to ask... I recently updated Red Hat's kernel.. and this
> problem seems to started appearing after that... is there a possibility
> of any connection between these two?
Probably not, unless you're using shared memory for sessions.
> Warren Vail wrote:
>
> > I have had similar things happen but in every case it turned out to be a
> > program bug in my code. It was usually something I looked at over and
> > over and I saw the way it was supposed to work, but because I missed a
> > detail it was not working that way. I would suggest you find someone to
> > look over your code and help you with the debug process. I found many
> > bugs just trying to explain to someone clearly how it worked.
> >
> > I suppose it could be a browser problem, but you need to solve those as
> > well, or at least handle them gracefully. Do you make it a practice of
> > having multiple browser instances open at the same time. I believe they
> > will each normally get their own session key, and if you get your hands
> > crossed, you will be looking at the symptoms in the wrong browser,
> > bottom line, test, test, and test, then get a second set of eyes to look
> > at your code, show them how it works, they don't need to really know a
> > lot about PHP, or even programming for that matter, they will ask
> > questions that as you try to answer them, you will find your problems.
> >
> > I have never found a legitimate bug in PHP Sessions, I have on the other
> > hand found I was inconsistently using session handler routines, and
> > before register globals was turned off, I was finding form variables
> > that clobbered my session variables (or maybe it was the other way).
> >
> > > -----Original Message-----
> > > From: Dasmeet Singh [mailto:singhdasmeet@gmail.com]
> > > Sent: Friday, April 15, 2005 11:04 PM
> > > To: php-general@lists.php.net
> > > Subject: [PHP] Are sessions unreliable?
> > >
> > > I store some user info in sessions.. it works fine but sometimes what
> > > happens is that the user id stored in session get changed.. and it
> > > happens only sometimes..
> > >
> > > Can it be browser problem? or this is common?
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org
[Back to original message]
|