Jump to content

PHP Sessions


methodlessman

Recommended Posts

So I have been stupidly developing my site in only one browser (Google Chrome) assuming it would work the same in all major browsers(gimmie a break I'm new to this :)). But, it doesn't. I have a login system that is supposed to remember the users name and ID# (both of which are stored in a MySQL DB). When they login their info is pulled from the DB and fed into a session array. In Chrome this works fine, but both IE and FF seem to destroy my session as soon as the user leaves the login page(which is done automatically after logging in succeeds). Every page of my site starts with an included file containing session_start().

 

Anyone ever had a similar problem?

Link to comment
https://forums.phpfreaks.com/topic/155398-php-sessions/
Share on other sites

PHP is a server-side language, so it will execute the same in any web browser.

 

however, there is the possibility that cookies are treated differently by various browsers .. somebody would need to confirm that though.

 

drawing records from the database is not prejudiced to any one browser .. there has to something else going on.

Link to comment
https://forums.phpfreaks.com/topic/155398-php-sessions/#findComment-817670
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.