Posted By:
abhishek_shukla
Posted On:
Tuesday, September 8, 2009 03:48 PM
IBM window.onunload = unloadPage; function unloadPage() { document.FrmLog.action="SN_LogoutDisp.jsp"; document.FrmLog.submit(); } ]]>]]> if (window.mm_menu_0720234212_0) return; window.mm_menu_0720234212_0 = new Menu("root",83,18,"",12,"#000000","#000000","#FFFFFF","left","middle",3,0,1000,-5,7,true,false,true,0,true,true); mm_menu_0720234212_0.addMenuItem("New item"); mm_menu_0720234212_0.fontWeight="bold"; mm_menu_0720234212_0.hideOnMouseOut=true; mm_menu_0720234212_0.bgColor='#FF9F00' mm_menu_0720234212_0.menuBorder=1; mm_menu_0720234212_0.menuLiteBgColor='#FF9F00' mm_menu_0720234212_0.menuBorderBgColor='#FF9F00' mm_menu_0720234212_0.writeMenus()
More>>
IBM
Dear Friends,
This is my first post in this forum.
I need ur help, i want to disable my browser back button or i want to redirect the user on the same page if he clicks on the back button .I want this so that no user can submit a data twice and also if he logs out no one get back by pressing back or forward button .
Some of the i tried are as under:
1.
but this is not working.
2.
<%
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-store");
response.setHeader("Expires","0");
response.setDateHeader("Expires",-1);
%>
not working.
3.
not working.
Here is my code:
**************************************************************************************************************************************************************************************************************************
|
|
|
|
|
| Search Inquiries |
Search Fianance Info |
Search Joinings |
|
**************************************************************************************************************************************************************************************************************************
]]>