ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1727
Number of posts: 3292

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Back Button Posted by montalbancj on 14 Nov 2002 at 10:49 AM
Is there any way to control the back button (in internet explorer) via asp.net.... Help
Report
Re: Back Button Posted by AshishDarwin on 9 Jan 2003 at 6:49 AM
: Is there any way to control the back button (in internet explorer) via asp.net.... Help
:

Hi,
Unfortunatly there is no direct way of doing this. I generally use an alternative way of disabling back button.

Expire the response immediately, so that user cannot use browser back/forward

Response.Expires = -1
Response.ExpiresAbsolute = Today.AddDays(-1)
Response.AddHeader("pragma", "no-cache")
Response.AddHeader("cache-control", "private")
Response.CacheControl = "no-cache"

I hope this should help.
Report
Re: Back Button Posted by babu_pers on 11 Jan 2003 at 5:02 AM
: : Is there any way to control the back button (in internet explorer) via asp.net.... Help
: :
:
: Hi,
: Unfortunatly there is no direct way of doing this. I generally use an alternative way of disabling back button.
:
: Expire the response immediately, so that user cannot use browser back/forward
:
: Response.Expires = -1
: Response.ExpiresAbsolute = Today.AddDays(-1)
: Response.AddHeader("pragma", "no-cache")
: Response.AddHeader("cache-control", "private")
: Response.CacheControl = "no-cache"
:
: I hope this should help.
:
hello,

i find difficulty in implementing ur code. can u eloborate, how to use & where to use

Babu



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.