PHP/Sessions !IMPORTANT

Ok, heres my issue:

I’m working on a CMS to use with clients websites, but i’m having some problems with my login script, or at least my test version of it.

I register the new user, and when i try to login i get the screen saying “you need to login to access this script” on the first try, but then i login again and it works fine(registers the session) and does so everytime until i clear my cache.

However, others have tried it from different machines and have had no problems to speak of.

If you guys could test the script for me and explain your experiences i would appreciate it. If you get the same problem i’ve been having and have some input on why that’s happening please let me know…thanks everybody :slight_smile:

Register script - http://slicdigital.net/phptesting/login_script/register.php

Login script - http://slicdigital.net/phptesting/login_script/login.php

P.S. Its time sensitive, so any help is GREATLY appreciated. Thanks again