Thursday, October 4, 2007

Session Management Techniques

1. In-Proc: the default provider.

2. Session Service: ASPNET_Session service. a diff service, runs outside IIS's service.
pros: in case of app recycle - the session remains the same; helpful when it's a web garden.
cons: cross process communication (performance)

3. Sql session provider: single point for sessions. remains on disk.

pros: a web farm solution; survives power failure;

cons: performance (disk i/o).

4. custom: build your own provider :-)

No comments: