Need help in log in and log 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
bishisht
Forum Newbie
Posts: 1
Joined: Fri Oct 23, 2009 4:14 am

Need help in log in and log out?

Post by bishisht »

hi there all of u. i have recently created a site for someone. i have placed log in and log out and some links . but those sessions are not working correctly when some one sign in and sign out and some other person press the back button of browser the original administration page appears. i have used Dreamweaver CS3 for my whole site. Please help me.
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Need help in log in and log out?

Post by papa »

You probably have a bug.
quicksolution
Forum Newbie
Posts: 1
Joined: Fri Oct 23, 2009 9:46 pm

Re: Need help in log in and log out?

Post by quicksolution »

Hi...
Follow some points may help you to solve your problem
1. When user logout you should unset all session variable of user
2. In administrator pages you should check login status if user not login then redirect to login page. :)
Post Reply