English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am using asp.net with vb.net. I want to ignore the escape key if user is going to press. Means the Back page must not be browsed while backspace key is pressed. Plz. help me.

2006-08-25 03:22:34 · 1 answers · asked by dipak 2 in Computers & Internet Programming & Design

1 answers

you can save the user status page with Session. how?

when you are redirecting user to another page (let's say TheNewPage.aspx) use this syntax:

Session["CurPage"]="TheNewPage...

and when any page is loading, check that is true page:

if Session["CurPage"]="TheNewPage... then
'continue loading
else 'redirect user to correct page(the correct page name is the value of Session["CurPage"] )

2006-08-25 12:36:30 · answer #1 · answered by IsaacArsenal 3 · 0 0

fedest.com, questions and answers