Re: Session and MS-IE6

From: Date: Tue, 02 Mar 2004 11:47:33 +0000
Subject: Re: Session and MS-IE6
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179226@lists.php.net to get a copy of this message
Have you tried other browsers ? Before you can say it is a browser issue you have to try as many browsers as possible and see if the problem is still there. What server/os/php is on your machine and what on client's ? Can you post the session management part of tour code ? Please provide more info in order to be able to get help. "Pance" <pance@rogers.com> wrote in message news:20040302113923.62429.qmail@pb1.pair.com... > I verify users to my website with sessions. It's been working fine for the > past couple of years, but recently I started having some problems using > sessions for example: > session_register("user_id"); > if (!(user_id)){ .... > > and then I read the PHP manual and it suggested this instead: > session_start(); > if (!$_SESSION['user_id']){ .... > > which worked on my machine (Win98 and MS-IE5.5). But today I tried to login > to my page from the client's computer using MS-IE 6 and I got the error: > undefined index 'user-id'.... > > Does anybody know what's going on? Is there a bug with MS-IE6 when using > sessions? I've read some of the other comments here about IE6 but they apply > to forms, not sessions. > > Pance.

« previous php.general (#179226) next »