182x Posted July 13, 2007 Share Posted July 13, 2007 Hey guys, This may be a silly question but I was wondering if I have a login page with a single page to process its username and password that uses a switch to check for the user and then direct them to their home page. However with processing all the users on the same page does this mean that if another user logs in at the same time the first users session variables will be over written? For example if I login as admin and then login as a normal user without loggin the admin out, then try to access the admin page it claims the admin has logged out, so does this cause a problem for multiple users. Thanks. Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted July 13, 2007 Share Posted July 13, 2007 I wouldn't think so...because even if you did redirect them to a new page, you would still be registering the sessions, and someone else could be redirected at the same time. I would say no, you should be fine with doing it your way. Quote Link to comment Share on other sites More sharing options...
182x Posted July 13, 2007 Author Share Posted July 13, 2007 Thanks, it was weird as it was overwriting the variables when I used the same browser but on if I used another. Is that normal as well? Quote Link to comment Share on other sites More sharing options...
mihail Posted July 13, 2007 Share Posted July 13, 2007 Yes, that is normal. 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.