enduser cant go previous page using that back button in internet explorer
-
Hi i want to disable the back button for ie..., My enduser cant go previous page using that back button..., How to do that...,
Thanks & Regards, NeW OnE, please don't forget to vote on the post
-
Hi i want to disable the back button for ie..., My enduser cant go previous page using that back button..., How to do that...,
Thanks & Regards, NeW OnE, please don't forget to vote on the post
You can't. People who ask this, are usually asking because their permissions system is broken. If you build a persmission system properly, you will store a key in the session to tell you the user is logged in. If they log out, this is cleared, and every secure page will redirect to the login page if you browse to it and the session object is not set to tell you that a user is logged in.
Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
-
You can't. People who ask this, are usually asking because their permissions system is broken. If you build a persmission system properly, you will store a key in the session to tell you the user is logged in. If they log out, this is cleared, and every secure page will redirect to the login page if you browse to it and the session object is not set to tell you that a user is logged in.
Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
Hi i am using session on my forms, Using user only i am doing all those things.., So i cant abondom session..., So i looked in js..., They given this script, Its working cool, Becoz of this my session will get any probs?????, Still now i didnt face any session probs of this script..., But i like to confirm it, Plz tell me can i use this script to avoid go back operation in my browser..., This script i called in all the page body onload event: function disable() { window.history.forward(1); }
Thanks & Regards, NeW OnE, please don't forget to vote on the post
-
Hi i am using session on my forms, Using user only i am doing all those things.., So i cant abondom session..., So i looked in js..., They given this script, Its working cool, Becoz of this my session will get any probs?????, Still now i didnt face any session probs of this script..., But i like to confirm it, Plz tell me can i use this script to avoid go back operation in my browser..., This script i called in all the page body onload event: function disable() { window.history.forward(1); }
Thanks & Regards, NeW OnE, please don't forget to vote on the post
-
Hi i want to disable the back button for ie..., My enduser cant go previous page using that back button..., How to do that...,
Thanks & Regards, NeW OnE, please don't forget to vote on the post
i don't know how to disable 'back' button, but, I have a idea .... suppose, u have 10pages as 1.aspx,2,3,....9.aspx now the user moves from page 3.aspx to 4.aspx now, when the user arrives at 3.aspx, use
Session["pagenumber"]="3";
when the user navigates to page 4.aspx, change it asSession["pagenumber"]="4";
at the entry of each page (in the page load function) check this entry ! :) -
Hi i am using session on my forms, Using user only i am doing all those things.., So i cant abondom session..., So i looked in js..., They given this script, Its working cool, Becoz of this my session will get any probs?????, Still now i didnt face any session probs of this script..., But i like to confirm it, Plz tell me can i use this script to avoid go back operation in my browser..., This script i called in all the page body onload event: function disable() { window.history.forward(1); }
Thanks & Regards, NeW OnE, please don't forget to vote on the post
New one wrote:
This script i called in all the page body onload event: function disable() { window.history.forward(1); }
This might work. Sometimes. Anyone who wants to defeat it, can. Trivially. So, write good code in the first place, and you won't need this.
New one wrote:
Hi i am using session on my forms, Using user only i am doing all those things.., So i cant abondom session...,
This makes no sense at all. If a session object marks that a user is logged in, of course you can abandon it. The session is unique per user, that's why you use it in the first place.
Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.