Can you compare ASP.NET sessions with classic ASP


Can you compare ASP.NET sessions with classic ASP?

✍: Guest


ASP.NET session caches per user session state. It basically uses gHttpSessionStateh class. Following are the limitations in classic ASP sessions :-

ã ASP session state is dependent on IIS process very heavily. So if IIS restarts ASP session variables are also recycled.ASP.NET session can be independent of the hosting environment thus ASP.NET session can maintained even if IIS reboots.
ã ASP session state has no inherent solution to work with Web Farms.ASP.NET session can be stored in state server and SQL SERVER which can support multiple server.
ã ASP session only functions when browser supports cookies.ASP.NET session can be used with browser side cookies or independent of it.

2007-10-23, 5036👍, 0💬