Re: Back and Forward Page

From: ruca (ruuca_at_iol.pt)
Date: 03/09/04


Date: Tue, 9 Mar 2004 15:17:34 -0000

Ok.
I login into a page that give me options contents (menu options) to
navigate. When I do exit, I'll go to the login page again, right?
What I want is when I click on Back button (after do Exit) do not permit
viewing pages in th history back.
Hope you can understand.

--
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netNoSpamM> escreveu na
mensagem news:#KqZ9ReBEHA.2800@tk2msftngp13.phx.gbl...
> The only way is to hide them, via JavaScript, which requires opening a new
> window, on the client side. Beyond that, you have to code in checks.
Expire
> pages works rather nicely (although it is more like a slap in the face).
You
> can also add if(!Page.IsPostBack) in your code so the Page_Load does not
run
> again. You can also work with multi-panel forms, so the nav back will
still
> use the same ViewState (not effective in all cases).
>
> Since I have no clue what your app does, all I can offer is very generic
> suggestions.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> **********************************************************************
> Think Outside the Box!
> **********************************************************************
> "ruca" <ruuca@iol.pt> wrote in message
> news:%23dh2e$dBEHA.688@tk2msftngp13.phx.gbl...
> > Do you know how can I disable the Back and Forward commands in browser?
> >
> > I want to disable that commands for some pages and others not.
> >
> > How can I do that?
> >
> >
> > --
> >
> > Thank's (if you try to help me)
> > Hope this help you (if I try to help you)
> > ruca
> >
> >
>
>

Loading