|
-
Jun 1st, 2006, 04:07 PM
#1
Thread Starter
Frenzied Member
php login
ok guys i need some expert help here, currently im using sessions for my login
once a user logs in i create a session
$_SESSION['username'] = $Username;
and then on other pages i use stuff like
if (isset($_SESSION['username'])) {
//allow acess..
}
but is there a better way? because when i log in and go 'back' to previous page it says 'info lost' you must refresh etc. isnt there a way i can go back smoothly?
-
Jun 2nd, 2006, 08:38 AM
#2
Re: php login
You can't log in and go back, have you tried that on any other website? It just doesn't work.
Also, that's why there is usually a confirmation screen with a redirect to another page - so you can't go back accidentally and repost the form.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|