How to not let page store a session for asp.net

Below are the steps:

  1. Go to webconfig, “C:\inetpub\wwwroot\wss\VirtualDirectories\90”
  2. Then right click edit webconfig
  3. Look for <PageParserPath> element tag
  4. paste this: <PageParserPath VirtualPath=”/*” CompilationMode=”Always”
    AllowServerSideScript=”true” IncludeSubFolders=”true” />
  5. Press ctrl-s and close
  6. Then change the link to: “ <link rel=”stylesheet” type=”text/css” href=<%=”’/Style Library/css/Main.css?v=”+ DateTime.Now.ToString(“yyyyMMddhhmmss”) +”’”%> “