Never go back to login Form

H

Husam

Hi Every Body:

this is the situation, I have login form that when user enter his or her
credintals pass to user area, and do his own stuff and log out after that. I
discover new problem here that when the user press the Back button and
forward button in the browser he can get back to the login form and also get
back to the user area agine. How can I prevent the user from going out of his
User area when he login untill he log out, in other word how can I disable
the function of backward and forward buttons?

Any help will be completlly appreciated

regard's

Husam
 
H

Hillbilly

Don't be a bully and mess with the user's ability to navigate. Its more
elegant and professional to use your coding skills to process the login
control in its event handler after confirming the login was successful; you
can choose to disable the control itself or keep it in a Panel and change
visibility. If you do so use a label in the page to tell the user "Logged In
Already." If I remember correctly there is even a unique event to manage
what happens immediately after logging in. Review the event model
documentation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top