Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.