Forum Moderators: coopster

Message Too Old, No Replies

php login system has errors in IE6

the php login system I've created doesn't appear to work in IE6

         

flamingsole

3:39 am on May 27, 2007 (gmt 0)

10+ Year Member



Hello all,

I've recently created a login system for a client, using PHP and MySQL. The user enters info, it checks the password compared to a hash in the database, and creates a session (which is stored in the database, due to shared server) and lets them in if they match. For some reason, it doesn't work in Internet Explorer 6, only. It works in Firefox, IE7, Opera. Don't know about Safari yet.

Now, I'm running the TredoSoft Multiple IE app that allows for standalone versions of Internet Explorer, so I tentatively think it might be an issue with that. However, I've never heard of those kind of issues arising from use of Multiple IE. I suppose the session could be creating a cookie, which would explain the error, but I haven't told it to do so.

I also haven't heard of IE6 treating server-side generated code so differently, though. Has anyone had experience with IE doing this, or with Multiple IE specifically doing this? If it's a Multiple IE thing, I can ignore it, but if not I obviously need to revisit some things.

Thanks.

phparion

7:29 am on May 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



well, check your every code portion which can be browser dependent e.g some kinda ajax calls or javascript working with php in couple. also check the cookies settings for each browser version your IE6 might be blocking cookies.

the tip for debugging, I could give, is to print your SESSION AND COOKIE arrays on the page where you are getting errors on your FireFox and IE6 and compare both outputs to check the difference. You will reach the problem quickly by this...

barns101

11:29 am on May 27, 2007 (gmt 0)

10+ Year Member



...and creates a session (which is stored in the database, due to shared server)

You can also specify a directory within your own webspace to store session data when on a shared server. This will reduce the number of database calls that you need to make. :)