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

???? ?????? ???? ??????
???? ID: 910443 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
ASP.NET ?????? ????? ?????

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

?? ????? ???? ?????????? ?? ??? ???????? ???? ?? ???, ?? ???? ????? ???? ?? ?? ???????? ?? ??? ?? ?? ????? ????? ??? ???? ???? ?? ???? ??? ?????? ??? ???????? ?????? ?? ?????? ????? ????? ??????? ????? ???? ?? ??? ?? ???????? ???? ????? ???? ?? ???? ????? ?? ??????????? ?? ????? ???? ??? ????? ?? ???? ??? ???? ??? ????? ???????? ?? ????? ?? ???? ??????? ?? ??? ?? ???? ?? ???
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

?????

Microsoft ASP.NET ?????? ????? ????? ??? ???? ?????? ??! ??? Nilay B. Shah ASP.NET ?????? ?????? ??? ?? ??? ???? ?? ?? ?? ??? ???? ?? ???? ?? ??? ASP.NET ?????? ?? ??? ??? ?? ??? ???? ??????? ??????? ?????? ??? ?? ?????? ?????????? ?????? ??? ?? ???? ??? ???????? ?? ??? ?? ???????????? ?? ??????? ???????, ???? ??????? ?????????? ???? ?? ??????? ?????????? ???? ?? ???? ??????? ???????? ?? ????? ?? ??? confusing ???? ?? ???? ??? Jerry Orman, ?????? ?????? ASP.NET ?????? ??? ?? ???, ?? ?????????? ??? ?? ?????? ??? ?? ??? ??????? ???? ???????!

?? ??????? ??? ??????? ??? ???-??? ??????? ??????? "????" ?? "??????" ?? ???? ??? ??????? ??? ??? ?????? ???? ?? ??? ?? ???: ??? ?? ????? ?? ???? ??? ???? ??? ???? ??????? ?? ???? ??????? ?? ??? ????? ?? ???? ??? ???? ??????, ?????????? ????? ????? ?? ?????????????? ????? ???? ???? ?? ?? ???? ??????? ??????? ?? ???? ?? ??? ???? ?????? ??? ????? ???? ?????? ??? SlidingUpdate ?? ?????? ???? ???

??? ????? ???????? ?? ????? ???? ?? ??? ?? ???? ??? ??????? ??????? ?? ?? ?? ?????? ?? ????? ???????? ?????:
  • ??????? ??????? ???? ?? formsauthentication ???? ???? ??? ?? ???? ??????? ????
  • FormsAuthentication ??? ?? ???? ?? ?????? ???? ???
  • ???? ???? ??? ???? ??????? ?? ???? expirationrelated ????
  • ???? ????????? ??? ???? ??????? ????? formsauthentication ???? ?? ?????? ??? ???? ?? ?? ??????? ?????????? ?????
  • ???? authenticationcookie ??????? ?? ??????? ?????????? ???? ?? ??? ????-??? ??? ???? ?? ?????
  • ?????? ????????: ??????? ??????? outbefore configurationfile ??? ??? ??????? ??????? ??? ??? ?? ???? ??

???? ?????????? ???? ??????? ?? ??????? ?????????? ???? ??? ???? arethey ????????

??????? ??????? ???? ?????????? ???? ????????? ?? ??? ????? ????? ??? ?? ???? ??? ???? ???????? ?????? ?? ??? ??????? ?????????? ???? ?? ??? ?? ??? ??? ???? ??? ?? ?? ?????, ????? ?? ??????? ??????? ?????? ?????????? ?????????? ?? ????? ?? ??? ???? ???

?? cookieless ??????? ??????? ?? ????? ???? ?? ??? ????? ???, ?? ???????, ???? ??? URL ???? ???????????? ?????? ??? ??? ???? ?????? ??????? ???-??? ??????? ???????? ?????? ????? cookieless ??????? ??????? ????? ???? ???? ??? ?? ?????? Microsoft .NET Framework 2.0 ??? ???????? ???

???? ??????? ?? ???, ????? Microsoft ?????? ??????? (MSDN) ??? ???? ?? ????:
http://msdn2.microsoft.com/en-us/library/system.web.configuration.formsauthenticationconfiguration.cookieless.aspx

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

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

???? ?????????? ???? ??? ?? ?? ????????? ?? ????? ?? <machineKey></machineKey> Machine.config ????? ????? ???????????? ???? ??? ASP.NET 2.0 ?? ????? ???? ?? decryptionKey ?? ?????????? ??????? ?? ??? <machineKey></machineKey> ??????? ?????????? ???? ???? ?????????? ???? ?? ???? ?????????? ??????? ????????? ??????????? ?????????? ?? ????? ???? ?? ??? ???? ???? ??? ASP.NET 1.1 ?? 1.0 ????? 3DES ???????????, ?? ????????? ???? ????? ???? ??? ?? ???? ???? ???? ?? ??? ??? ????? ?? ???? ?? ????????? ???? ?? ??? ?????? ?????? ????????? ?? ???? ??? ????????????, ?????????? ????? ????? ?? ?????????????? ?????

??? ????????? ??? ??? ?????? ??? ???? ???? ??? ??, ?? ?? ???? validationKey ?? decryptionKey ??? ????????? ??? ???????? ????? ?? ???????????? ??????? ???? ?? ????????? ???? ???? <machineKey></machineKey> ??? ?? hashing ?? ???? ?? ?????????? ?? ??? ?????? ???? ????,? ?? ??? ?? ????? ?????? ?????? ????? ?????? ?????? ???? ?? ????, ??????? ??? ???? ????? FormsAuthenticationTicket ??????????? ?? ??? ?????? ????????? ????? ?? ???? ??? ???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
http://msdn2.microsoft.com/en-us/library/ms998288.aspx
?? ?????? ?? ????? ?? ???????? ???????? ??? ?? ????? ???? ?? ??? ??????? ????? Microsoft ???????? ????? ??? ??? ???? ??:
312906 ??????? ?????????? ??? ????? ?? ??? ????? c# .NET ?? ????? ?? ????? ?? ????? ?? ??? ????
313091 ??????? ?????????? ??? ????? ???? ?? ??? Visual Basic .NET ?? ????? ?? ????? ?? ????? ?? ??? ????
??????? ??????? ???? FormsAuthenticationTicket ???? ?? ????? ???? ??? ???????? ??? ?? ??????? ???? ?? ???? ??? ???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
http://msdn2.microsoft.com/en-us/library/system.web.security.formsauthenticationticket.aspx

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

???-??????? ????, ????? ??? ???? ??????? ?????? ?? ?? ??, ?? ???? ?????? ?? ?? ?????, ?? ?????????? ????? ????? ?? ?????????????? ????? ???? ??????? ????? ??, ???????? ???? ???? ??, ???? ???? ?? ??? ??? ???????, ??????? ??, ?? ????? ??, ???????? ?? ?????????? ???? ???? ?? ??? ??? ???? ?? ??? ?? ???? ?? ??? ????? ?? ???? ???? ???????, ?? ?? ??????? ?? ????? ?? ??? FormsAuthentication.SignOut ???? ?? ???-??????? ?????? ?????? ??? ?? ????? ?? ???? ????

FormsAuthentication.SignOut ?? ??? ???? ?? ???? ??? ???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
http://msdn2.microsoft.com/en-us/library/system.web.security.formsauthentication.signout.aspx
Cookieless ??????? ???????, ?? ??? ???????? ??? ??, ?? ???? ?? ??? ?? ?? ???? ?????? ?? ?? ??? ???? ????? ???? ??????

???? ????????? ??? ???? ??????? ????? ?????? offorms ?????????? ???? ??? ???? ?? ?? ??????? ?????????? ?????

??? ???? ??????? ????????? ??????? ??? ??? ??? ???? ??!

???? ?? ?????? ???: ??? ????? ????? 5:00 ??? ?? ?????? ?? 00:00:00 PM 5:10:00: 00:00 ??????? ??????? ?? slidingExpiration ??????? 10 ??, ?? PM ?? ??? ??? ??? ?? ?? ?????? ???? ?????? ??, ??? ???? ?? ??? ????? ??? ?? 5:05 ?? ??????? ???? ?? 00:00:00 PM 5:15 ???? ?? ??? ????? ?? ????? ?? ?????? ?? ???? ????-??? ????: 00:00:00 PM.

??? ??? ??? ??? ??? ???? ??????? ??? ????? ?? ???? ?? ?????? ??, ?? ???? ??? ???? ??????? ??? ????? ???? ?????? Fore ??????, ??? 5:04 ?? ???? ?? ??? ????? ?? ????? ??, ???, 00:00:00 PM, ?????? ?? ???? ??????? ??????? ????? ???? ???? ??????

???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
http://msdn2.microsoft.com/en-us/library/1d3t3c61 (vs.71).aspx

???? ??????? ??????? cookieand ??????? ?????????? ???? ????-??? ??? ??? ???? ?? ?????

???? ?????? ?? ?? ??? ???? ??? Machine.config ????? ?? web. config ????? ??? ?? <forms></forms> ???? ??? ???? ?? ???? ?? ?????? ??? ??????? ??????? ?? ????-??? ???? ?? ???????? ????????? ????? ???? ???????? ??? ?? ????? ???? ??? ?? ?? ???

<!--
forms Attributes: 
name="[cookie name]" - Sets the name of the cookie used for Forms Authentication.
loginUrl="[url]" - Sets the URL to redirect client to for authentication.
protection="[All|None|Encryption|Validation]" - Sets the protection mode for data in cookie.
timeout="[minutes]" - Sets the duration of time for cookie to be valid (reset on each request).
path="/" - Sets the path for the cookie.
requireSSL="[true|false]" - Should the forms authentication cookie be sent only over SSL?
slidingExpiration="[true|false]" - Should the forms authentication cookie and ticket be reissued if they are about to expire?
-->
???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
http://msdn2.microsoft.com/en-us/library/1d3t3c61.aspx
???? ???????? ??? ?? FormsAuthenticationTicket ???? ?? ????? ?? ??????? ??, ?? ??????? ?????? ??? ???? ??????? ????-??? ??? ???? ?? ???? ??? ?? ??? ???????????? ????? ??? ????????? ??????? ??????? ??? ?? ??????? ??????

FormsAuthenticationTicket ??????? ?? ???? ??? ???? ??????? ?? ???, ????? MSDN ??? ???? ?? ????:
http://msdn2.microsoft.com/en-us/library/system.web.security.formsauthenticationticket_members.aspx

?????? ????????: ??????? ??????? ???????????? ????? ??? ??? ??????? ??????? ??? ?? ???? ???? ??? ?? ???? ??

??? ??????? ?????????? ???? ???????? ??? ?? ????? ???? ??? ??, ???? ?? ??? ????-??? ??? ?? ???????????? ????? ??? ??? ?? ??????? ?????? ?? ??? ???????????? ????? ??? ??? ?? ?? ??, ?? ?????, ??????? ??????? ???? ?????? ?????, ???????????? ????? ???? ?? ???? ???????? ??? ?? ????-versa ??????? ??? ?????? ?? ???, ??? ?? ??? <forms> </forms>??????? ??????? ??? ?? 30 ?? ??? web. config ????? ??? ?? 20 ???? ?? ??? ???? ?? ??? ???? ??????? ??? ??? ???? ??? ??? ?? ?????? ???, ??????? ?????????? ???? 20 ???? ?? ??? ?????? ?? ????? ?? ???: ?? ??? ??? ?? ???? ?? ??? ?????????? ?? ??? ??????

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

910439 ??????? ??????? ???????? ?? ??????
891032 ?????? ?????? ASP.NET
301240 C# .NET ?? ????? ?? ???? ASP.NET ????????? ??? ???????-?????? ?????????? ??????????? ???? ?? ??? ????
308157 Visual Basic .NET ?? ????? ?? ???? ASP.NET ????????? ??? ???????-?????? ?????????? ??????????? ???? ?? ??? ????
???? ??? ?? ?? ?? ??????? ?? ASP.NET ??????? ??????? ???? ?? ???? ?? ??? ????? ?????? ?? ??? easing ??? ?????? ???? ??? ????, ?????? ????? ??????? ?? ??? ?? ???! ?????, ?????? ???? ?? ??????? ?? ????? ???? ?? ??? ????? ????? ?????? ??? ????? ??????? ?? ??? ??? ?? ??? Microsoft ????? ??? ?? ????? ???? ??? ????? ????????

???

???? ID: 910443 - ????? ???????: 21 ??????? 2013 - ??????: 4.0
???? ???? ???? ??:
  • Microsoft ASP.NET 2.0
  • Microsoft ASP.NET 1.0
  • Microsoft ASP.NET 1.1
??????: 
kbhowto kbasp kbmt KB910443 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:910443

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

 

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