HttpCachePolicy::SetNoStore Method ()

 

Sets the Cache-Control: no-store HTTP header.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
void SetNoStore()

The following code example demonstrates how to use the SetNoStore method of the HttpCachePolicy class to direct the client not to store the responses in its history.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: