By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,995 Members | 1,086 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,995 IT Pros & Developers. It's quick & easy.

How to Disable Back Button of Internet Explorer

P: 64
Hi,

Thanks in advance.

I need to know the coding for disabling the back button of internet explorer after getting signout of my application and where the coding to be written. i mean inside signout button or like page load event.

I am using vb coding.

Any idea.
Dec 18 '07 #1
Share this Question
Share on Google+
2 Replies


kenobewan
Expert 2.5K+
P: 4,871
Suggest searching the site, this question comes up regularly.
Dec 18 '07 #2

P: 64
Hi Mr.kenobewan

i had given the following coding in my project.

Response.Buffer = True
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1D)
Response.Expires = -1500
Response.AddHeader("pragma", "no-cache")
Response.AddHeader("cache-control", "private")
Response.CacheControl = "no-cache"

I tried by giving the above codings in page load, signout button event.

But it is not working.

Can u suggest to solve this problem.
Dec 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.