Avoid Back Button Click
-
Hello friends, I wanted to put restrictions on users browser activities. When user logs in ...if he presses "Back" button of the browser...he must not go back to the login page..an error message should be displayed to the user..How can we check that? Thanks In advance
-
Hello friends, I wanted to put restrictions on users browser activities. When user logs in ...if he presses "Back" button of the browser...he must not go back to the login page..an error message should be displayed to the user..How can we check that? Thanks In advance
Not this again.. check this out: http://www.boutell.com/newfaq/creating/backbutton.html http://knowledgebaseworld.blogspot.com/2007/09/how-to-expire-previous-page.html
-
Hello friends, I wanted to put restrictions on users browser activities. When user logs in ...if he presses "Back" button of the browser...he must not go back to the login page..an error message should be displayed to the user..How can we check that? Thanks In advance
Why do people ask this day after day ? How does anyone think it's remotely possible ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Not this again.. check this out: http://www.boutell.com/newfaq/creating/backbutton.html http://knowledgebaseworld.blogspot.com/2007/09/how-to-expire-previous-page.html
-
Not this again.. check this out: http://www.boutell.com/newfaq/creating/backbutton.html http://knowledgebaseworld.blogspot.com/2007/09/how-to-expire-previous-page.html
-
Not this again.. check this out: http://www.boutell.com/newfaq/creating/backbutton.html http://knowledgebaseworld.blogspot.com/2007/09/how-to-expire-previous-page.html
-
Why do people ask this day after day ? How does anyone think it's remotely possible ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Christian Graus wrote:
How does anyone think it's remotely possible ?
Becaus every secure system (eg, banking websites) log you out if you try to click back. Obviously this is a much more indepth system than just "avoid user clicking back button", and requires much more work than a simple javascript hack.
-
Christian Graus wrote:
How does anyone think it's remotely possible ?
Becaus every secure system (eg, banking websites) log you out if you try to click back. Obviously this is a much more indepth system than just "avoid user clicking back button", and requires much more work than a simple javascript hack.
Yeah, these folks all ask the wrong question, that's the core problem
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Christian Graus wrote:
How does anyone think it's remotely possible ?
Becaus every secure system (eg, banking websites) log you out if you try to click back. Obviously this is a much more indepth system than just "avoid user clicking back button", and requires much more work than a simple javascript hack.
-
Offcourse ..It is a bit of difficult code...than just javascript code ...but We need that code..Can anyone help us?
-
That is close to useless.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Offcourse ..It is a bit of difficult code...than just javascript code ...but We need that code..Can anyone help us?
*sigh* It's really very trivial. You CANNOT stop the back button. You CAN make every page check if a session variable is set, and if not, redirect to your login page. I use a base class for this.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Offcourse ..It is a bit of difficult code...than just javascript code ...but We need that code..Can anyone help us?
Hi, Instead of doing a redirect to next page do a javascript location.href='next_page'
**$**herin Iranimose
-
That is close to useless.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Not this again.. check this out: http://www.boutell.com/newfaq/creating/backbutton.html http://knowledgebaseworld.blogspot.com/2007/09/how-to-expire-previous-page.html
.netman wrote:
Not this again
hehe At this point we could just about rename CodeProject to that: NotThisAgain.com :-D
led mike