Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP網頁ÖÐÈ¡µÃµÇ陸µÄÓÃ戶Ãû

ÎÒµÄ網頁´ú碼為ASP語ÑÔ,驗證·½Ê½為ϵ統×Ô帶µÄWINDOW驗證ģʽ.

現ÔÚÎÒÈç¹ûÒªÔÚASP´ú碼ÖÐ獲È¡當Ç°µÄµÇÈëÈË員帳號ÃÜ碼,該Ôõ麼×ö..

²»ÓõÚÈý·½¿Ø¼þ¿ÉÒÔ麼?

µÇ½³É¹¦ºó ϵͳ×Ô¶¯²úÉúÒ»¸ösession°É

password = Request.ServerVariables("AUTH_PASSWORD")
ÎÒµÄÃÜ碼顯ʾ為¿Õ,Ôõ麼»ØÊ°¡...
實際ÊÇÓÐ輸ÈëÃÜ碼µÄ

Ôõ麼沒ÓÐÈ˳ö來»Ø簽ÏÂÄØ

û×ö¹ýwindows×Ô´øÑéÖ¤µÄ¡£¡£¡£

ÄÇ難µÀÒ²沒ÈËʹÓÃ過這¾ä嗎?
password = Request.ServerVariables("AUTH_PASSWORD")

ÊDz»ÊÇÃÜ碼ÊÇ*號µÄ×Ö·û,ץȡ²»³ö來°¡

ÎÒresponse.write ¶¼無·¨顯ʾÄØ

ÒýÓÃ
û×ö¹ýwindows×Ô´øÑéÖ¤µÄ¡£¡£¡£


ͬÉÏ

暈µô,Ôõ麼¶¼沒¸ßÈË來¿´¿´°¡.

ʲô½Ð£º驗證·½Ê½為ϵ統×Ô帶µÄWINDOW驗證ģʽ. £¿


¾ÍÊÇ 網頁µÇ陸時,輸ÈëµÄ帳號ºÍÃÜ碼為WINDOW²Ù×÷ϵ統ÖеÄ帳號與ÃÜ碼.

û¸ã¹ý¡£¡£
²»¹ýÏó²Ù×÷ϵͳµÄÕË»§µÄÃÜÂëÓ¦¸Ã²»»áÊÇÓÃÃ÷ÎÄÖ®ÀàµÄ·¢ËͺÍÃ÷ÎÄÒ»ÑùµÄ½ÓÊÕºÍÈÏÖ¤°É£¿È·ÊµÃ»¸ã¹ý£¬Ö»ÊDz²⣬¹þ¡£¡£
¶¼ÒѾ­ÊÇϵͳÈÏÖ¤ÁË£¬²»ÖªµÀ»¹Òª»ñÈ¡Ã


Ïà¹ØÎÊ´ð£º

ASP¼òµ¥ÎÊÌâ

conn.asp

<%
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source="&server.MapPath("Connt ......

ÓÃASPÔõôдÒÔÏ´úÂë

µ±½áÊøʱ¼ä´óÓÚ¿ªÊ¼Ê±¼äÔòÏÔʾδÍê³É
µ±½áÊøʱ¼äСÓÚ¿ªÊ¼Ê±¼äÔòÏÔʾδ´ïµ½ÈÎÎñ
ûÓÐʱ¼äÔòÏÔʾÕýÔÚ½øÐÐÖÐ
asp´úÂëÓ¦¸ÃÔõôд


Èç:¿ªÊ¼Ê±¼ä      ½áÊøʱ¼ä      & ......

Asp ¶þ¼¶²Ëµ¥ ÈçºÎÒÔº¯ÊýµÄÐÎʽʵÏÖ

ÒòΪºÜ¶àµØ·½¶¼ÒªÓõ½¶þ¼¶²Ëµ¥£¬ÎÞˢеÄÄÇÖÖ£¬ËùÒÔÏëд¸öº¯Êý£¬Êý¾Ý¿âΪSQL¸ñʽ¡£
¶®µÄ°ïæдһ¸ö£¬Ð»Ð»ÁË£¡
£¨±¾ÈËΪASPÐÂÊÖ£¬ËùÒÔ×îºÃ°ïæдµÃÏêϸµã¡££©
ÁíÍâÔÙ°ïæд¸öǰ̨µ÷ÓõÄÒ³Ã棬¼òµ¥µãµÄ¾ÍºÃ£¬ ......

aspÓÐʲôºÃµÄ±à¼­»·¾³Âð£¿

aspÓÐʲôºÃµÄ±à¼­»·¾³Â𣿠 ÓÐÄܵ÷ÊԵĻ·¾³Âð£¿

      Èç¹ûÔÚsql°æ¿éÄܽâ¾ö£¬¾Í²»·Åµ½asp.netÁË
ASP
幫頂~~


ÒýÓÃ
Õâ¸ö²»ÓÃÎÊÁË°É£¬vs.net + iis
ºÜ·½±ãµÄ ......

ÇóÒ»¸ö±à³ÌºÃ°ì·¨£¬ÈçºÎͨ¹ý²úƷСÀàÕÒµ½´óÀࣨasp£©

id lbname topid ceng
1 ²úÆ·1    0    1
16 ²úÆ·2  0    1
17 ²úÆ·3  0    1
18 ²úÆ·4  0    1
19 ²úÆ·5  0& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ