Re: session issues on ie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, November 28, 2006 3:47 pm, blackwater dev wrote:
> I have code which logs someone in and then allows them to see certain
> info
> if they are logged in.  I have users who claim it works fin in some of
> their
> browsers, firefox, safari, etc and some versions of IE but not all and
> I'm
> stumped.
>
> Here's the code:
>
>
> //this is from the login routine
>  if ($this->db->getField('user_id')){
>
>                         session_start();
>
> $_SESSION['user']['user_id']=$this->db->getField('user_id');
>
> $_SESSION['user']['email']=$this->db->getField('email');
>                         return true;
>  }
>
>         <?
>         //only show if they are logged in
>         if (isset($_SESSION['user']['user_id']) &&
> !$_REQUEST['mlsid']){
> //show something
> }
>         ?>
>
> People are claiming it tells them they are logged in yet they don't
> see what
> is displayed under the code which checks their session.  For some
> reason,
> sessions don't seem to be there on all browsers yet they claim that
> cookies
> and all are on.

I have a similar issue, and it always seems to be the people who are
incapable of responding to requests for more info about their browser
version etc...

The teeny tiny percentage who can tell me what browser version they
have, it works just fine.

My current theories include:

Their cookies aren't really "on", they just think they are, and once
they start digging, they solve it.

Some versions of IE refuse cookies in some security settings unless
you have the stupid P3P headers.

They were not paying attention when the web page told them that
CAPITALIZATION matters for their password.

I have resorted to telling the users to just switch browsers, which is
not what I'd like to do, but I can never seem to find the time to
track this down.

Good luck!

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux