force refreshing of my web site

Discussion in 'ASP .Net' started by Mr. x, Nov 26, 2003.

  1. Mr. x

    Mr. x Guest

    Hello,
    How can I force refreshing of my web site, when a visitor enter my site.

    Thanks :)
    Mr. x, Nov 26, 2003
    #1
    1. Advertising

  2. Specify that you don't want your page to be cached.
    You can do that with code like this:

    Response.Expires = 0
    Response.Cache.SetNoStore()
    Response.AppendHeader("Pragma", "no-cache")

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net
    Hire top-notch developers at http://www.able-consulting.com



    "Mr. x" <> wrote in message news:3fc51cec$1@news.012.net.il...
    > Hello,
    > How can I force refreshing of my web site, when a visitor enter my site.
    >
    > Thanks :)
    >
    >
    >
    Steve C. Orr [MVP, MCSD], Nov 26, 2003
    #2
    1. Advertising

  3. Mr. x

    Mr. x Guest

    Thanks.
    I'll check this out.

    "Steve C. Orr [MVP, MCSD]" <> wrote in message
    news:...
    > Specify that you don't want your page to be cached.
    > You can do that with code like this:
    >
    > Response.Expires = 0
    > Response.Cache.SetNoStore()
    > Response.AppendHeader("Pragma", "no-cache")
    >
    > --
    > I hope this helps,
    > Steve C. Orr, MCSD, MVP
    > http://Steve.Orr.net
    > Hire top-notch developers at http://www.able-consulting.com
    >
    >
    >
    > "Mr. x" <> wrote in message news:3fc51cec$1@news.012.net.il...
    > > Hello,
    > > How can I force refreshing of my web site, when a visitor enter my site.
    > >
    > > Thanks :)
    > >
    > >
    > >

    >
    >
    Mr. x, Dec 2, 2003
    #3
    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. John M

    force refreshing of an aspx page

    John M, May 16, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,627
    Karl Seguin
    May 16, 2005
  2. Mr. x
    Replies:
    4
    Views:
    3,882
    Brett
    Nov 4, 2003
  3. Harlan Messinger

    Self-refreshing and non-self-refreshing controls

    Harlan Messinger, Aug 4, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    442
    =?Utf-8?B?Y2xpY2tvbg==?=
    Aug 4, 2006
  4. Harlan Messinger

    Self-refreshing and non-self-refreshing controls

    Harlan Messinger, Aug 3, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    176
    Harlan Messinger
    Aug 3, 2006
  5. Mr. x

    force refreshing of my site.

    Mr. x, Nov 24, 2003, in forum: Javascript
    Replies:
    1
    Views:
    72
    Michael Winter
    Nov 25, 2003
Loading...

Share This Page