Control of the Page Cache

Discussion in 'ASP .Net' started by Jeremy, Dec 3, 2003.

  1. Jeremy

    Jeremy Guest

    I'm trying to prevent a page update (postback) being cached in the browser,
    so if a user hits a link on page A and enters my webform page B, hits a few
    buttons (each of which results in a postback), and then hits Back, he is
    taken back to page A.

    Can this be done ?
    Jeremy, Dec 3, 2003
    #1
    1. Advertising

  2. Check out this faq,
    http://www.extremeexperts.com/Net/FAQ/DisablingBackButton.aspx

    --
    Saravana
    Microsoft MVP - ASP.NET
    www.extremeexperts.com



    "Jeremy" <> wrote in message
    news:...
    > I'm trying to prevent a page update (postback) being cached in the

    browser,
    > so if a user hits a link on page A and enters my webform page B, hits a

    few
    > buttons (each of which results in a postback), and then hits Back, he is
    > taken back to page A.
    >
    > Can this be done ?
    >
    >
    Saravana [MVP], Dec 3, 2003
    #2
    1. Advertising

  3. Jeremy

    JezB Guest

    I cant get this to work, where does this code go ?

    "Saravana [MVP]" <> wrote in message
    news:%...
    > Check out this faq,
    > http://www.extremeexperts.com/Net/FAQ/DisablingBackButton.aspx
    >
    > --
    > Saravana
    > Microsoft MVP - ASP.NET
    > www.extremeexperts.com
    >
    >
    >
    > "Jeremy" <> wrote in message
    > news:...
    > > I'm trying to prevent a page update (postback) being cached in the

    > browser,
    > > so if a user hits a link on page A and enters my webform page B, hits a

    > few
    > > buttons (each of which results in a postback), and then hits Back, he is
    > > taken back to page A.
    > >
    > > Can this be done ?
    > >
    > >

    >
    >
    JezB, Dec 4, 2003
    #3
  4. You can write it page_load itself.

    --
    Saravana
    Microsoft MVP - ASP.NET
    www.extremeexperts.com



    "JezB" <> wrote in message
    news:...
    > I cant get this to work, where does this code go ?
    >
    > "Saravana [MVP]" <> wrote in message
    > news:%...
    > > Check out this faq,
    > > http://www.extremeexperts.com/Net/FAQ/DisablingBackButton.aspx
    > >
    > > --
    > > Saravana
    > > Microsoft MVP - ASP.NET
    > > www.extremeexperts.com
    > >
    > >
    > >
    > > "Jeremy" <> wrote in message
    > > news:...
    > > > I'm trying to prevent a page update (postback) being cached in the

    > > browser,
    > > > so if a user hits a link on page A and enters my webform page B, hits

    a
    > > few
    > > > buttons (each of which results in a postback), and then hits Back, he

    is
    > > > taken back to page A.
    > > >
    > > > Can this be done ?
    > > >
    > > >

    > >
    > >

    >
    >
    Saravana [MVP], Dec 5, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DesignerX

    Page.Cache vs HttpContext.Current.Cache

    DesignerX, Jan 20, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    8,250
    vMike
    Jan 20, 2004
  2. Quentin Huo
    Replies:
    1
    Views:
    509
    Charles Chen
    Aug 6, 2004
  3. Replies:
    0
    Views:
    465
  4. John
    Replies:
    2
    Views:
    1,180
  5. Yaron Cohen
    Replies:
    0
    Views:
    326
    Yaron Cohen
    Nov 19, 2003
Loading...

Share This Page