Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Redirecting and cache
Message
 
À
26/05/2006 11:39:25
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01124199
Message ID:
01125427
Vues:
13
I think what you want for general HTTP cacheability are Response.Expires and:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
There are a number of options there.

Note though if you're doing a Redirect() of any sort no headers are applied and cacheability doesn't apply. The Cache settings must be done on the page that is the final page that is displayed in a redirect.

+++ Rick ---

>>>
>>>Danijel,
>>>
>>>Does this portion of your web site use SSL? Are you certain that the problem lies with client-side caching?
>>>
>>>The reason I ask is that there are no browsers/proxies that I am aware of that will cache anything in an SSL stream.
>>>
>>>There is a server-side (IIS) caching directive that has attributes that can be set in each page called @OutputCache. See "cache, ASP.NET Caching Features" in the VS.NET help files.
>>
>>Keith,
>>
>>As I mentioned at the end of my original post, my app does not use SSL, while the external site for verification of credit cards does. That is also the reason I believe it is a caching problem, as the final step is performed back in my app where registration is to be completed and funds withdrawn, all this done without SSL.
>>
>>I will check out OutputCache alternative, thanks.
>
>Oops! I should pay more attention :)
>
>The @OutputCache docs are fuzzy in some respects. The @OutputCache attribute doesn't affect browser caching, only IIS/Aspnet caching. Perhaps there is a standard meta-tag that instructs client-side browsers/proxies to not cache the web page.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform