sayedsohail Posted July 4, 2007 Share Posted July 4, 2007 Hi everyone, I am using sessions for my login page, it always rejects my first attempt and second attempt i con login with the same login details. although i placed session_start(); right at the top of my document, but still its the same. Any ideas? Quote Link to comment Share on other sites More sharing options...
AndyB Posted July 4, 2007 Share Posted July 4, 2007 There's either a logic flaw in your code (which you haven't shown), or something else is wrong. Quote Link to comment Share on other sites More sharing options...
scarhand Posted July 4, 2007 Share Posted July 4, 2007 You have to post the code so that we can help you..... Sounds to me like your session is not beginning until after the login details are being posted. Quote Link to comment Share on other sites More sharing options...
sayedsohail Posted July 4, 2007 Author Share Posted July 4, 2007 Hi andy, how could be a a logic flaw when it lets you in on second attempt? Do u know what that something else is. In opinion it has do something to do with php.ini settings, do u know what it is? Quote Link to comment Share on other sites More sharing options...
AndyB Posted July 4, 2007 Share Posted July 4, 2007 If you want suggestions about solving your problem, then you have to share more information because otherwise this is all guesswork for anyone responding. Saying "I have a problem" isn't getting you closer to a solution; posting some related code would be a better first step. Quote Link to comment Share on other sites More sharing options...
scarhand Posted July 4, 2007 Share Posted July 4, 2007 Hi andy, how could be a a logic flaw when it lets you in on second attempt? Do u know what that something else is. In opinion it has do something to do with php.ini settings, do u know what it is? Because he is guessing, because he has no clue what the problem is because you didn't post any code. Its impossible to help you unless you post your code. I wouldn't even bother replying until you have shown us a piece of code related to the issue. Quote Link to comment Share on other sites More sharing options...
Yesideez Posted July 4, 2007 Share Posted July 4, 2007 If (hopefully when) you post some code please remember to surround it with CODE tags as this makes reading it a lot easier and you'll get a faster response. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.