- If you're not using Session State at all, turn it off completely via web.config file:
<system.web><sessionState mode="Off"></sessionState>... - If you're using Session State, but it's required only for a few pages, then first turn it off for all pages:
<system.web><pages enableSessionState="false">...
then enable it for a specific page:
<%@ Page ... EnableSessionState="true" %>
obviously such optimization makes sense only for high-traffic web sites. example :Irctc.co.in
No comments:
Post a Comment