If those threads create COM objects marked Threading Model=Apartment then the objects are created in the same STAs as the threads that created them.Without Asp Compat="true," request threads run in a multithreaded apartment (MTA) and each call to an STA-based COM object incurs a performance hit when it's marshaled across apartment boundaries.Also possible security hazards for the client computer. How is this technology different than what is available though ASP? Web Forms are similar to Windows Forms in that they provide properties, methods, and events for the controls that are placed onto them. Besides making it difficult to maintain your transactional integrity, Response. Sure, there are workarounds, but they're difficult. Redirect necessitates a round trip to the client, which, on high-volume sites, causes scalability problems. How can you provide an alternating color scheme in a Repeater control?
Just call Set No Store on the Http Cache Policy object exposed through the Response object's Cache property, as demonstrated here: Set No Store works by returning a Cache-Controll; a private, no-store header in the HTTP response.
Persistent authentication cookies do not time-out and therefore are a more serious security threat if stolen. Note that VSDISCO files are disabled in the release version of ASP. You can reenable them by uncommenting the line in the section of Machine.config that maps *.vsdisco to System. Is it possible to prevent a browser from caching an ASPX page?
What does Asp Compat="true" mean and when should I use it?
In this example, it prevents caching of a Web page that shows the current time.
Client-side scripting is usually done in VBScript or Java Script. In earlier versions of IIS, if we wanted to send a user to a new Web page then the only option we had was Response. While this method does accomplish our goal, it has several important drawbacks.