Ask a Question related to ASP.NET General, Design and Development.
-
belgie #1
back button - disable
Is there a way to prevent the user from using the browser Back Button to go
back to a previous page in an ASP.NET application?
Thanks!
Bill
belgie Guest
-
How to Disable F5 Key, Foward and Back buttons
HI, Can anybody send sample code for , disabling the F5, Back,Forward button in browser. Thanks, Suman Puli -
Disable back button in browser and X in top right
Has anyone ever seen code out there for disabling the back button or the close button? I don't want the user to be able to leave the flex app... -
How do I disable Back Button in Browser?
i get incredibly grumpy every time someone asks a question then they get bombarded with 'we have to think of the user' and 'u have no right to mess... -
HOW TO DISABLE BACK BUTTON IN ASP
hi all For a user to log of in an application ,i've used session.abandon method and furthur the control is redirected to the home page.as a... -
Disable the tab button
Hi All, I have a little problem, i have some sort of calculator with a bunch of textmembers which are editable. The thing is that i don't want ppl... -
Peter Wu #2
Re: back button - disable
belgie <belgie@hns.com> wrote:
Have the previous page expire immediately. When the user hits Back button> Is there a way to prevent the user from using the browser Back Button
> to go back to a previous page in an ASP.NET application?
of the browser, the page will have expired.
--
Peter Wu
Powered by Microsoft Windows XP [Version 5.1.2600]
Peter Wu Guest
-
belgie #3
Re: back button - disable
I tried this:
Response.Cache.SetExpires(Date.Now)
in the Page_Load event, but it didn't seem to work. I could still go back
to it with the back button.
Thanks!
"Peter Wu" <peterwu@hotmail.com> wrote in message
news:bfrugs$hrq57$1@ID-117651.news.uni-berlin.de...> belgie <belgie@hns.com> wrote:
>>> > Is there a way to prevent the user from using the browser Back Button
> > to go back to a previous page in an ASP.NET application?
> Have the previous page expire immediately. When the user hits Back button
> of the browser, the page will have expired.
>
> --
> Peter Wu
> Powered by Microsoft Windows XP [Version 5.1.2600]
>
>
belgie Guest
-
Alvin Bruney #4
Re: back button - disable
You need to use Setcacheability property of the response object. That will
kill the back button dead in its tracks. Actually, the button will still be
there, after clicking it, you will get a message - page has expired from
cache.
"belgie" <belgie@hns.com> wrote in message
news:OoSzLntUDHA.2224@TK2MSFTNGP10.phx.gbl...go> Is there a way to prevent the user from using the browser Back Button to> back to a previous page in an ASP.NET application?
>
> Thanks!
> Bill
>
>
>
>
>
Alvin Bruney Guest
-
Scott M. #5
Re: back button - disable
The is no Response.Setcacheability property in ASP.
"Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote in
message news:#qPg46vUDHA.2248@TK2MSFTNGP12.phx.gbl...be> You need to use Setcacheability property of the response object. That will
> kill the back button dead in its tracks. Actually, the button will still> there, after clicking it, you will get a message - page has expired from
> cache.
>
> "belgie" <belgie@hns.com> wrote in message
> news:OoSzLntUDHA.2224@TK2MSFTNGP10.phx.gbl...> go> > Is there a way to prevent the user from using the browser Back Button to>> > back to a previous page in an ASP.NET application?
> >
> > Thanks!
> > Bill
> >
> >
> >
> >
> >
>
Scott M. Guest
-
sarojangel #6
Re: back button - disable
I need to inactive the back button when user loggout from the website in ASP.NET
Pls anybody answer me >>>>
Thanks
Sarojsarojangel Guest



Reply With Quote

