Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : asp

ASP¶à±í²éѯ£¬Ò»¶Ô¶à

ÎÒÒª²éѯÁ½ÕűíµÄÊý¾Ý£¬Ò»ÕűíÒ»ÌõÊý¾Ý¶ÔÓ¦ÁíÒ»ÕűíµÄ¶àÌõÊý¾Ý£¬SQLÊý¾Ý¿â
±í1£º                ±í2£º
id  name ...          ctrId  content ...
5  ¼×  ...            5    ......

asp¿ç·þÎñÆ÷ cookies ÎÊÌâ

A·þÎñÆ÷(www.XXX.com)

Response.Cookies("aa") = "bbbbbbb"
Response.Cookies("aa").domain = "XXX.com"

B·þÎñÆ÷(www1.XXX.com)
Response.Write Request.Cookies("aa")


A·þÎñÆ÷дÈë¿Í»§¶ËÒ»¸öcookies ÏëÓÃB·þÎñÆ÷¶Á³öÕâ¸öcookies
......

¼ÙÇ°×îºóÒ»ÌûASPµ÷ÓÃVB×é¼þ

ÎÒÓÃVB°´MVCµÄ¹¹¼Üд×é¼þ¹©ASPµ÷ÓÃ
BLL²ã
VB code:

Private Dal As New moonPotato_DAL
Public Sub inSertUser(Model As moonPotato_Model)
Dal.InSertCls (Model)
End Sub

ASPÖе÷ÓÃ
VB code:

Set BLL = server.CreatoObject("tttt.moonPotato_BLL")
Set Model= server.CreatoObj ......

aspÍøվĿ¼Òƶ¯ºó²»ÄÜÉÏ´«Îļþ£¬Çó¾È

ÎʸöÎÊÌ⣬ÎÒµÄÒ»¸öÍøÕ¾ÄÜÉÏ´«Îļþ£¬ÎÒ°ÑÍøվĿ¼¿¼µ½Í¬Ò»Ì¨µçÄÔµÄÁíÒ»¸öĿ¼Ï£¬È»ºóÔÚ¸´ÖƹýÀ´µÄĿ¼ÉÏн¨ÁËÒ»¸öÍøÕ¾£¬³ÌÐòÎļþû¶¯(Ïà¹Ø·¾¶µÄÉèÖÃÒѾ­¸ÄÁË£¬²»ÊÇ·¾¶ÎÊÌâ)£¬µ«ÊÇÐÂÍøÕ¾²»ÄÜÉÏ´«Îļþ£¬ÎÒÍøÉϲéÁËһЩ×ÊÁÏ£¬°ÑĿ¼ȨÏÞÉèÖùý£¬²¢ÇҼ̳ÐÁË£¬»¹ÊDz»ÐУ¬Çó¾È

Îļþ¼Ð´æÔÚ£¬iisÎļþÉÏ´«ÏÞÖÆÒѾ­¸ÄÁË£¬ÎÊÌâÊ ......

ASPα¾²Ì¬µÄÁíÀàÎÊÌâ

ÓÉÓÚ¶ÔÒ³ÃæʹÓÃÁËα¾²Ì¬
²¢ÇÒ¶ÔID½øÐÐÁ˼ÓÃÜ¡£
Ö÷Òª´úÂëÈçÏ£º
httpd.ini
RewriteRule /List-([0-9,a-z]*).html /List.asp\?ComId=$1 [N,I]

³ÌÐò´úÂë
AΪ¼ÓÃÜ£¬BΪ½âÃܺ¯Êý
<a href="List- <%=a(Rs("ComId"))%>.html" target="_blank">... </a> ......

ASPÊÇÔõÑùÅжÏÒ»¸öÓû§ÊÇ·ñÁ¬½ÓµÄÄØ

ÎÒÔÚÒ»¸öä¯ÀÀÆ÷Àï,ÓõÚÒ»¸öÓû§µÇ¼ÁËÒ»¸öÍøÕ¾,È»ºóµã"Í˳öµÇ¼",È»ºóÓÖÓõڶþ¸öÓû§µÇ¼ÁËÕâ¸öÍøÕ¾,ÔÙµã"Í˳ö"

×¥°ü¿´µ½µÄ½á¹ûÊÇ,µÚÒ»´Î·¢Ë͵ÄPOSTÇëÇóÖÐ,httpÍ·²¿Ã»ÓдøCOOKIE×Ö¶Î,·þÎñÆ÷·µ»ØµÄÄÚÈÝÖÐÓÐCOOKIE¶Î,¸øÁËÒ»¸öSESSIONIDÖµ,Ö®ºóËùÓеÄÊý¾Ý°üÖж¼´øÓÐCOOKIE×Ö¶Î,¶øÇÒSESSIONIDÖµ²»±ä ......
×ܼǼÊý:1883; ×ÜÒ³Êý:314; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [300] [301] [302] [303] 304 [305] [306] [307] [308] [309]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ