Ask a Question related to ASP, Design and Development.
-
Wayne Wengert #1
Refreshing a Page
I have a menu that calls a specific asp page and passes a variable
data1page.asp?year=2001
where the value of the year variable is determined in code.
This works fine the first 2 times I call the page but after the second call,
all future calls get the data for the same year as in the 2nd call. If I
click on "Refresh" and then try a different call, it works as expected. I
suspect the I am getting a cached page (why?).
How can I execute a call with a forced refresh and/or how can I prevent the
called page from being cached?
--
------------------------------------
Wayne Wengert
[email]wayne@wengert.org[/email]
Wayne Wengert Guest
-
refreshing page...
I have page that is opened in a small window and after a user submits the form on that page I want the window to close and then refresh the page... -
Refreshing Page through CodeBehind --- Is it possible?
Temp wrote: I presume that you mean some app running on the server? There isn't a way to do this server side once the page has been dispatched... -
automtically refreshing a page
Greetings I found this in the DWMX help but unfortunately it doesn't actually say how to do it: Setting Refresh properties Use the Refresh... -
Web Page Refreshing...
I was just wondering... Our company must use a web site for order information from one of our customers. They place an order on the web site and... -
Refreshing the page
I was wondering if there is any way through for instance getURL(), to refresh the current page? (Like the page the SWF is currently included on.)... -
Bite My Bubbles #2
Re: Refreshing a Page
go into iis, right-click on the website. Take properties.
Click on the home directory tab.
Click the configuration button.
on the mappings tab, uncheck the "cache isapi extensions"
"Wayne Wengert" <wayne@wengert.org> wrote in message
news:u3m29f%23dDHA.1888@TK2MSFTNGP12.phx.gbl...call,> I have a menu that calls a specific asp page and passes a variable
>
> data1page.asp?year=2001
>
> where the value of the year variable is determined in code.
>
> This works fine the first 2 times I call the page but after the secondthe> all future calls get the data for the same year as in the 2nd call. If I
> click on "Refresh" and then try a different call, it works as expected. I
> suspect the I am getting a cached page (why?).
>
> How can I execute a call with a forced refresh and/or how can I prevent> called page from being cached?
>
> --
> ------------------------------------
> Wayne Wengert
> [email]wayne@wengert.org[/email]
>
>
Bite My Bubbles Guest
-
Wayne Wengert #3
Re: Refreshing a Page
I don't have root access to IIS. I just buy Windows Web service from an ISP
Wayne
"Bite My Bubbles" <bmb@mybubbles.com> wrote in message
news:OxQpKo%23dDHA.2300@TK2MSFTNGP10.phx.gbl...I> go into iis, right-click on the website. Take properties.
> Click on the home directory tab.
> Click the configuration button.
> on the mappings tab, uncheck the "cache isapi extensions"
>
>
>
>
> "Wayne Wengert" <wayne@wengert.org> wrote in message
> news:u3m29f%23dDHA.1888@TK2MSFTNGP12.phx.gbl...> call,> > I have a menu that calls a specific asp page and passes a variable
> >
> > data1page.asp?year=2001
> >
> > where the value of the year variable is determined in code.
> >
> > This works fine the first 2 times I call the page but after the second> > all future calls get the data for the same year as in the 2nd call. If I
> > click on "Refresh" and then try a different call, it works as expected.> the> > suspect the I am getting a cached page (why?).
> >
> > How can I execute a call with a forced refresh and/or how can I prevent>> > called page from being cached?
> >
> > --
> > ------------------------------------
> > Wayne Wengert
> > [email]wayne@wengert.org[/email]
> >
> >
>
Wayne Wengert Guest
-
Bite My Bubbles #4
Re: Refreshing a Page
Try this:
[url]http://www.aspfaq.com/show.asp?id=2022[/url]
or this may be your ISPs problem
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;332075[/url]
"Wayne Wengert" <wayne@wengert.org> wrote in message
news:%23EXAH1%23dDHA.2432@TK2MSFTNGP11.phx.gbl...ISP> I don't have root access to IIS. I just buy Windows Web service from anI>
> Wayne
>
> "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
> news:OxQpKo%23dDHA.2300@TK2MSFTNGP10.phx.gbl...> > go into iis, right-click on the website. Take properties.
> > Click on the home directory tab.
> > Click the configuration button.
> > on the mappings tab, uncheck the "cache isapi extensions"
> >
> >
> >
> >
> > "Wayne Wengert" <wayne@wengert.org> wrote in message
> > news:u3m29f%23dDHA.1888@TK2MSFTNGP12.phx.gbl...> > call,> > > I have a menu that calls a specific asp page and passes a variable
> > >
> > > data1page.asp?year=2001
> > >
> > > where the value of the year variable is determined in code.
> > >
> > > This works fine the first 2 times I call the page but after the second> > > all future calls get the data for the same year as in the 2nd call. Ifexpected.> > > click on "Refresh" and then try a different call, it works asprevent> I> > > suspect the I am getting a cached page (why?).
> > >
> > > How can I execute a call with a forced refresh and/or how can I>> > the> >> > > called page from being cached?
> > >
> > > --
> > > ------------------------------------
> > > Wayne Wengert
> > > [email]wayne@wengert.org[/email]
> > >
> > >
> >
>
Bite My Bubbles Guest
-
Wayne Wengert #5
Re: Refreshing a Page
Thanks for the pointers. It turns out that the code to immediately expire
the page didn't help. I contacted my ISP on the other hint but am not
optimistic they will change anything.
I appreciate the suggestions
Wayne
"Bite My Bubbles" <bmb@mybubbles.com> wrote in message
news:unNeK8%23dDHA.2436@TK2MSFTNGP11.phx.gbl...second> Try this:
> [url]http://www.aspfaq.com/show.asp?id=2022[/url]
>
> or this may be your ISPs problem
>
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;332075[/url]
>
>
>
> "Wayne Wengert" <wayne@wengert.org> wrote in message
> news:%23EXAH1%23dDHA.2432@TK2MSFTNGP11.phx.gbl...> ISP> > I don't have root access to IIS. I just buy Windows Web service from an> >
> > Wayne
> >
> > "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
> > news:OxQpKo%23dDHA.2300@TK2MSFTNGP10.phx.gbl...> > > go into iis, right-click on the website. Take properties.
> > > Click on the home directory tab.
> > > Click the configuration button.
> > > on the mappings tab, uncheck the "cache isapi extensions"
> > >
> > >
> > >
> > >
> > > "Wayne Wengert" <wayne@wengert.org> wrote in message
> > > news:u3m29f%23dDHA.1888@TK2MSFTNGP12.phx.gbl...
> > > > I have a menu that calls a specific asp page and passes a variable
> > > >
> > > > data1page.asp?year=2001
> > > >
> > > > where the value of the year variable is determined in code.
> > > >
> > > > This works fine the first 2 times I call the page but after theIf> > > call,
> > > > all future calls get the data for the same year as in the 2nd call.> I> expected.> > > > click on "Refresh" and then try a different call, it works as> prevent> > I> > > > suspect the I am getting a cached page (why?).
> > > >
> > > > How can I execute a call with a forced refresh and/or how can I>> >> > > the
> > > > called page from being cached?
> > > >
> > > > --
> > > > ------------------------------------
> > > > Wayne Wengert
> > > > [email]wayne@wengert.org[/email]
> > > >
> > > >
> > >
> > >
> >
>
Wayne Wengert Guest
-
Felix Wu [MSFT] #6
Re: Refreshing a Page
Hi Wayne,
I think bmb's suggestion should work. How about putting this in the asp pag:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
Does it work?
Regards,
Felix Wu
=======
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------<OxQpKo#dDHA.2300@TK2MSFTNGP10.phx.gbl>>From: "Wayne Wengert" <wayne@wengert.org>
>References: <u3m29f#dDHA.1888@TK2MSFTNGP12.phx.gbl>
<#EXAH1#dDHA.2432@TK2MSFTNGP11.phx.gbl>
<unNeK8#dDHA.2436@TK2MSFTNGP11.phx.gbl>>Subject: Re: Refreshing a Page
>Date: Thu, 11 Sep 2003 10:23:01 -0600
>Lines: 74
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#JA1$DIeDHA.2304@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.inetserver.asp.general
>NNTP-Posting-Host: skybeam143.skybeam.frii.net 216.17.229.143
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:252378
>X-Tomcat-NG: microsoft.public.inetserver.asp.general
>
>Thanks for the pointers. It turns out that the code to immediately expire
>the page didn't help. I contacted my ISP on the other hint but am not
>optimistic they will change anything.
>
>I appreciate the suggestions
>
>Wayne
>
>"Bite My Bubbles" <bmb@mybubbles.com> wrote in message
>news:unNeK8%23dDHA.2436@TK2MSFTNGP11.phx.gbl...>second>> Try this:
>> [url]http://www.aspfaq.com/show.asp?id=2022[/url]
>>
>> or this may be your ISPs problem
>>
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;332075[/url]
>>
>>
>>
>> "Wayne Wengert" <wayne@wengert.org> wrote in message
>> news:%23EXAH1%23dDHA.2432@TK2MSFTNGP11.phx.gbl...>> ISP>> > I don't have root access to IIS. I just buy Windows Web service from an>> >
>> > Wayne
>> >
>> > "Bite My Bubbles" <bmb@mybubbles.com> wrote in message
>> > news:OxQpKo%23dDHA.2300@TK2MSFTNGP10.phx.gbl...
>> > > go into iis, right-click on the website. Take properties.
>> > > Click on the home directory tab.
>> > > Click the configuration button.
>> > > on the mappings tab, uncheck the "cache isapi extensions"
>> > >
>> > >
>> > >
>> > >
>> > > "Wayne Wengert" <wayne@wengert.org> wrote in message
>> > > news:u3m29f%23dDHA.1888@TK2MSFTNGP12.phx.gbl...
>> > > > I have a menu that calls a specific asp page and passes a variable
>> > > >
>> > > > data1page.asp?year=2001
>> > > >
>> > > > where the value of the year variable is determined in code.
>> > > >
>> > > > This works fine the first 2 times I call the page but after the>If>> > > call,
>> > > > all future calls get the data for the same year as in the 2nd call.>>> I>> expected.>> > > > click on "Refresh" and then try a different call, it works as>> prevent>> > I
>> > > > suspect the I am getting a cached page (why?).
>> > > >
>> > > > How can I execute a call with a forced refresh and/or how can I>>>> > > the
>> > > > called page from being cached?
>> > > >
>> > > > --
>> > > > ------------------------------------
>> > > > Wayne Wengert
>> > > > [email]wayne@wengert.org[/email]
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>
>Felix Wu [MSFT] Guest



Reply With Quote

