-Re: Re: Serious cache problem - Page_Load get never get called !!!
Hi, thanks for your attention. But unfortunately, this does not work
I can't believe that there is no previous posting about this.
same functional code twice.
----Below is your previous posting...I'm attaching this for other's
understanding. Google gets weired error when I tried to attach to the
previous posting. Error goes : "Unable to retrieve message
Appending the header doesn't necessarily tell the browser not to cache
page. For that, your best bet is to include the appropriate meta tag:
HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">. Using the meta tag may help
more browsers than just the response header alone.
You might also try using a Response.Flush() right after you send the
header. I've seen that help in some instances.
Hope this helps,
Microsoft MVP - FrontPage
"Ryan Park" <firstname.lastname@example.org> wrote in message
> I got a asp.net page that stores session variable.
> This page gets input parameter by QueryString and this variable stored
> into session variable.
> Asp.net page works in normal navigation scenario.
> Then I bookmarked this url to my favorites and call this url by
> clicking favorites link.
> When in this situation, at initial time Page_Load() of my asp.net gets
> called but after first time, page never get called by clicking
> favorites link.
> I guess maybe IE caches the link and read it when user clicks from
> favorite link.
> I've tried below codes only to fail to call Page_Load(). All of them
> Response.Expires = 0;
> Response.AppendHeader("Pragma", "no-cache");
> Navigating my asp.net pages by favorites link is very possible user
> This is unavoidable.
> How can I always ensure IE to read URL from Web Server not from cache
> when user clicks favorites link?
> Any suggestion will be appreciated. TIA. :)
|All times are GMT. The time now is 10:47 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.