After logout dont go back to previous page by back button using

i used history.go(1) in all web pages for not going back,it is working.After logout when back button using it coming on same page,but the problem is that when using the webpages before logout back button does not gives the previous page.i want a solution that i can use backbutton if login and after logout i dont want the back button.please give a solution

[364 byte] By [deepagangaa] at [2007-11-27 11:19:39]
# 1

Does this question deal with creating applications in the java programming language, and if so, how? If not, you will have to find another forum in which to ask this. If you are asking about javascript, understand that javascript != java.

petes1234a at 2007-7-29 14:37:56 > top of Java-index,Java Essentials,Java Programming...
# 2

Yeah, you're talking javascript. You will need to be more careful about asking javascript questions in javascript forums. You can google to find them. Good luck.

petes1234a at 2007-7-29 14:37:56 > top of Java-index,Java Essentials,Java Programming...
# 3

i developed a web based project,in that there is login and logout section.after logout section,taking backward the previous page coming,but no futher request going bec there is no session.i dont want to go back to the previous page after logout

deepagangaa at 2007-7-29 14:37:56 > top of Java-index,Java Essentials,Java Programming...
# 4

haven't you read a single thing that I wrote above?

You are posting at the wrong forum. This is NOT a javascript forum. JAVA != JAVASCRIPT

petes1234a at 2007-7-29 14:37:56 > top of Java-index,Java Essentials,Java Programming...
# 5

<script language="JavaScript" type="text/JavaScript">

javascript:window.history.forward(-1);

</script>

hey paste aboue code into head part of the log-out page it ll disable the back button..

ravi-kumar-123a at 2007-7-29 14:37:56 > top of Java-index,Java Essentials,Java Programming...