If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
i'm sorry if my question is a stupid question.but i really dont know where to put the coding that u gave.i want the default back button at the top of the windows...if the user click...the page will expired....please help me...
Put rokslide's code at the very top of any ASP page you want to expire (in your case, the page you want to expire if the user clicks "Back"). It should be before anything is written to the browser, so ideally, it should be the very first thing in your ASP script.
__________________
That which does not kill me postpones the inevitable.
Dim sq
Dim rs
Dim rs1
Dim db
Dim nama
Dim x
Dim y
Dim z
Dim diff2
Dim diff
getid=session("id")
set db=Server.CreateObject("ADODB.Connection")
db.Open"sambung"
i've put the coding u gave at the top.....as a result...when user click the back arrow....the page did not expired....i think i might done a mistake there...please help me