ASP.NET ³ÉÔ±×ʸñÀàºÍ˵Ã÷
Membership
Ìṩ³£¹æ³ÉÔ±×ʸñ¹¦ÄÜ¡£
´´½¨Ò»¸öÐÂÓû§¡£
ɾ³ýÒ»¸öÓû§¡£
ÓÃÐÂÐÅÏ¢À´¸üÐÂÓû§¡£
·µ»ØÓû§ÁÐ±í¡£
ͨ¹ýÃû³Æ»òµç×ÓÓʼþÀ´²éÕÒÓû§¡£
ÑéÖ¤£¨Éí·ÝÑéÖ¤£©Óû§¡£
»ñÈ¡Áª»úÓû§µÄÈËÊý¡£
ͨ¹ýÓû§Ãû»òµç×ÓÓʼþµØÖ·À´ËÑË÷Óû§¡£
MembershipUser
ÌṩÓйØÌض¨Óû§µÄÐÅÏ¢¡£
»ñÈ¡ÃÜÂëºÍÃÜÂëÎÊÌâ¡£
¸ü¸ÄÃÜÂë¡£
È·¶¨Óû§ÊÇ·ñÁª»ú¡£
È·¶¨Óû§ÊÇ·ñÒѾ¹ýÑéÖ¤¡£
·µ»Ø×îºóÒ»´Î»î¶¯¡¢µÇ¼ºÍÃÜÂë¸ü¸ÄµÄÈÕÆÚ¡£
È¡Ïû¶ÔÓû§µÄËø¶¨¡£
MembershipProvider
Ϊ¿É¹©³ÉÔ±×ʸñϵͳʹÓõÄÊý¾ÝÌṩ³ÌÐò¶¨Ò幦ÄÜ¡£
¶¨ÒåÒªÇó³ÉÔ±×ʸñËùʹÓõÄÌṩ³ÌÐòʵÏֵķ½·¨ºÍÊôÐÔ¡£
MembershipProviderCollection
·µ»ØËùÓпÉÓÃÌṩ³ÌÐòµÄ¼¯ºÏ¡£
MembershipUserCollection
´æ´¢¶Ô MembershipUser
¶ÔÏóµÄÒýÓá£
MembershipCreateStatus
ÌṩÃèÊöÐÔÖµ£¬ÓÃÓÚÃèÊö´´½¨Ò»¸öгÉÔ±×ʸñÓû§Ê±Êdzɹ¦»¹ÊÇʧ°Ü¡£
MembershipCreateUserException
¶¨ÒåÎÞ·¨´´½¨Óû§Ê±Òý·¢µÄÒì³£¡£ÃèÊöÒì³£ÔÒòµÄ MembershipCreateStatus
ö¾ÙÖµ¿Éͨ¹ý StatusCode
ÊôÐÔ»ñÈ¡¡£
MembershipPasswordFormat
Ö¸¶¨ ASP.NET °üº¬µÄ³ÉÔ±×ʸñÌṩ³ÌÐò¿ÉÒÔʹÓõÄÃÜÂë´æ´¢¸ñʽ£¨Clear
¡¢Hashed
¡¢Encrypted
£©¡£
Ïà¹ØÎĵµ£º
ÌõÐÎÂëÊÇÆù½ñΪֹ×á¢ÊµÓõÄÒ»ÖÖ×Ô¶¯Ê¶±ð¼¼Êõ¡£ÌõÐÎÂë¼¼Êõ¾ßÓÐÒÔϼ¸¸ö·½ÃæµÄÓŵã
¡¡¡¡A£®ÊäÈëËٶȿ죺Óë¼üÅÌÊäÈëÏà±È£¬ÌõÐÎÂëÊäÈëµÄËÙ¶ÈÊǼüÅÌÊäÈëµÄ5±¶£¬²¢ÇÒÄÜʵÏÖ“¼´Ê±Êý¾ÝÊäÈ딡£
¡¡¡¡B£®¿É¿¿ÐԸߣº¼üÅÌÊäÈëÊý¾Ý³ö´íÂÊΪÈý°Ù·ÖÖ®Ò»£¬ÀûÓùâѧ×Ö·ûʶ±ð¼¼Êõ³ö´íÂÊΪÍò·ÖÖ®Ò»£¬¶ø²ÉÓÃÌõÐÎÂë¼¼ÊõÎóÂëÂʵ ......
ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......
//ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
//µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); }
//µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript> ......
1¡¢ÓÉdatasetÉú³É
public void CreateExcel(DataSet ds,string typeid,string FileName)
{
HttpResponse resp;
resp = Page.Response;
resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");
resp.AppendHeader("Content-Dis ......
ÏÂÃæÒÔTest Õ¾µãΪÀý£¬ËµÃ÷Ò»ÏÂÈçºÎÉèÖà .net framework 2.0 aspnet_isapi µÄ IIS ÉèÖÃ
°´Èçϲ½Öè²Ù×÷¼´¿É
1¡¢´ò¿ªÕ¾µã£¬ÓÒ»÷ÊôÐÔ£¬ÕÒµ½Ö÷Ŀ¼£¨±¾Ê¾ÀýÊÇÒÔÐéÄâĿ¼£¬·þÎñÆ÷°æ±¾ÇëÕÒÖ÷Ŀ¼£©
´ò¿ªÈçÏÂͼËùʾµÄ´°¿Ú
......