IE session problem on one server only

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

 



Another issue. :-)  I've another site I've built that uses PHP sessions for 
user authentication.  When the user logs in with a user/pass, that is matched 
against a record in the database and, if found, that user object is stored in 
the session along with various other tracking data like the IP address, and 
the session key is stored in the user table.  Then when viewing a page, the 
systems compares the session key against the user table and the IP address of 
the request against the saved IP address.  If anything doesn't match up 
properly, the user is kicked out.

OK, all fine and dandy.  It works correctly in both IE and Firefox on our test 
server.  On the live site, however, it works only in Firefox.  In IE, it 
accepts the initial login and displays the first page, but then the next time 
the user clicks a link they are asked to login again, as if the session is 
not being sent or saved properly.  Both servers are running Linux and PHP 
4.3.x.

We had issues before with the session not working correctly in IE, but I fixed 
those with info from the php.net manual user comments.  I'm at a loss as to 
why it's only happening on the one server and not the other now.  If it were 
the other way around I wouldn't care, but the live site shouldn't break. :-)

Any idea what could be the problem?

-- 
Larry Garfield			AIM: LOLG42
larry@xxxxxxxxxxxxxxxx		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

-- 
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