Dynamically updating web.config

If the user is working with a browser that supports DHTML then the validation controls can also perform validation using a client script. Session state is locked down when the Http Application instance that's processing the request fires an Acquire Request State event and unlocked when it fires a Release Request State event. NET forms authentication cookies provide any protection against replay attacks? Validation controls perform input checking in server code. One, it's unlikely that two requests from the same user will overlap. NET locks down session state during request processing so that two threads can't touch it at once.For example, in my case I wanted to pull latitude longitude information from a SQL Server database and then use them to insert pushpins on google map. So I have decided to write a user control which can take care of javascript part and allows me to concentrate on serverside functions.

Explain the differences between Server-side and Client-side code?

The following directive sets Asp Compat to true: Setting Asp Compat to true does two things.

First, it makes intrinsic ASP objects available to the COM components by placing unmanaged wrappers around the equivalent ASP. Second, it improves the performance of calls that the page places to apartment-threaded COM objects by ensuring that the page (actually, the thread that processes the request for the page) and the COM objects it creates share an apartment. NET request threads into single-threaded apartments (STAs).

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.

Leave a Reply