User login fails - login fields blank out

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
anders1977
Forum Newbie
Posts: 1
Joined: Fri Jul 30, 2010 4:19 am

User login fails - login fields blank out

Post by anders1977 »

Hi! This might not be the right forum for my problem, but I'm not sure where it would fit as I haven't yet identified what causes the problem.

I have a php script which enables my customers to log in to my site. Upon logging in, a mysql database is also updated with total number of logins made.

Yesterday I got a customer which is unable to log in. After filling out the form fields (userid/pwd) and submitting, the fields just blanks out and nothing happens. I've made my customer try with Google Chrome in addition to IE8, which he is normally using, but the problem occurs on both browsers.

The login script does run however, because the total logins info is updated after each try. I've tried logging in to the same account on several other computers, and everything works fine. I have now asked my customer to try logging in from a different computer on the same router, as I thought maybe it is a firewall problem.

Not sure where to go from here. Ideas, anyone?

Kind regards,
Anders.
jraede
Forum Contributor
Posts: 254
Joined: Tue Feb 16, 2010 5:39 pm

Re: User login fails - login fields blank out

Post by jraede »

Well, it seems like the form is submitting but the code to redirect the user to the logged-in page (if that's what you're doing) isn't working for some reason. Does that code rely on cookies or session variables? It could be that the user has disabled cookies so the session is unable to set that he/she is logged in.
Jsphlane20
Forum Newbie
Posts: 17
Joined: Wed Aug 11, 2010 1:17 pm
Contact:

Re: User login fails - login fields blank out

Post by Jsphlane20 »

Couple of questions .

1. When was the last successfull login for the customer ?
2. Is the customer the only person having the problem ?
Post Reply