????? ????? ???? ???? ????? ASP ?? ASP.NET

?????? ????????? ?????? ?????????
???? ???????: 306996 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ???? ????? ??? ????? ????? ???? ???? ????? ?? ASP.NET.

??? ????? ???? ???? ????? ASP.NET ????? ???? ??? ?? ?????? ??????? ??? ??????? ???? ??? ???????? ?????? ???????? ??? ??????? ??? ???????. ??? ????? ???? ???? ????? ?? ??? ???? ?????? ???????? ??? ???? ????? ????????? ?? ?????? Session ?? ??????? ????? Session_OnStart ?? Session_OnEnd. ??? ????? ???? ???? ?????, ????? ????? ?????? ??? ??????? ?? ?????? ?? ????? ???? ???? ????? ???????.

?? ASP.NET ? ??? ?? ??? ?????? ?????? Session ????? ??? ?????? ?? ??? ??? ??? ?????? ?? ?? ??????? ???? (Session_OnStart ?? Session_OnEnd) ? ??? ????? ???? ???? ?????. ??? ????? ???? Session.SessionID ?? ?? ??? ??? ???? ????? ???? ????? ?? ???? ??? ???????? ????.

????? ???? ???? ????? ??? ??????? ???????

???? ??????? ??????? ????? ????? ???? ???? ????? ??? ????? ??????? ???? ???? ??? ???? ??????? ???????? ?? ???????:
  1. ???? ????? Microsoft Visual Studio .NET ?? ????? "????? ???" ???? ?? ASP.NET.
  2. ?? "?????? ??????" ???? ????? ??????? ??? Web.config ???? ??????? ??? ?????.
  3. ????? ???? <sessionstate> ?????? ?????? ???? ??? ??? ????? ?????.
  4. ??? ????? ?/?? ??????? ??? ????? ???? ???? ????? ???? ???? ??????? ???????? ?? ???????.

????? ???? ???? ????? ??? ??????? ??????

???? ??????? ??????? ????? ????? ???? ???? ????? ??? ????? ?????? ????? ???? ??? ??????? ???? ????? ??? ?????????:
  1. ???? ????? Microsoft Visual Studio .NET ?? ????? "????? ???" ???? ?? ASP.NET.
  2. ?? "?????? ??????" ???? ????? ??????? ??? "????? ???" ???? ???? ????? ???? ???? ?????.
  3. ???? ??? ????? ??????? HTML.
  4. ?? ????? ?????? ?? ?????? ????? EnableSessionState = "false" ?? ????? ?????? @. ??? ?? ???? ????? ??????? ?????? ??? ???:
    <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" 
    AutoEventWireup="false" Inherits="WebApplication1.WebForm1" 
    EnableSessionState="false" %>
    					
  5. ??? ??? ?/?? ??????? ??? ????? ???? ???? ????? ???? ???? ??????? ???????? ?? ???????.

??????? ??????? ????????

??? ????? ????? ?? ??????? ??????? ??? ????? ???? ???? ????? ???? ????? ????? ???????:
???? ??????? ???? ???? ????? ????? ??? ????? enableSessionState ??? true ?? ??? ????? ?? ?? ????? ??????

?????

?????? ??? ???? ?? ????????? ??? ???? ???? ?????, ???? ???????? ??????? ?? .NET Framework ?????? ?? ????? ??????? (SDK) ???????:
???? ???? ASP.NET
http://msdn2.microsoft.com/en-us/library/ms972429.aspx

<sessionstate>??????
http://msdn2.microsoft.com/en-us/library/h6bb9cz9(vs.71).aspx

???????

???? ???????: 306996 - ????? ??? ??????: 29/???? ??????/1428 - ??????: 3.6
????? ???
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
????? ??????: 
kbmt kbconfig kbhowtomaster kbstate kbwebforms KB306996 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????306996

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com