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

asp»º´æ¼¼Êõ£¿

asp»º´æ¼¼Êõ£¿ ¾ÍÊÇ °ÑÊý¾Ý´æµ½Application¶ÔÏóÀïÂ𠣿£¿£¿
¿´ÁËһЩasp»º´æµÄ·½·¨£¬Ò»°ã¶¼ÊÇÀûÓÃapplicationµÄ£¬²»Ðеϰ¾ÍÓÃasp.netÀ´×ø°É

Application - È«¾Ö»º´æ
Session - ¾Ö²¿»º´æ
È»ºó»¹ÓÐÎļþ»º´æ

ÒýÓÃ
asp»º´æ¼¼Êõ£¿ ¾ÍÊÇ °ÑÊý¾Ý´æµ½Application¶ÔÏóÀïÂ𠣿£¿£¿

Ò»°ã¶¼ÊÇÔÚGlobal.asaµÄApplication_OnStartʼþÀï°ÑÊý¾Ý¿âÀïÐèÒª¾­³£Óõ½µ«²»³£·¢Éú¸Ä±äµÄÊý¾ÝÖ±½Ó¶Áµ½ApplicationÀÐèÒªÓõ½µÄʱºò¾ÍÖ±½Ó´ÓApplicationÀïÈ¡£¬ÕâÑù¿ÉÒÔʡϴóÁ¿µÄ¶ÁдÊý¾Ý¿âµÄ²Ù×÷£¬´Ó¶ø´ïµ½Ìá¸ßÔËÐÐЧÂʵÄÄ¿µÄ¡£

ѧϰ

¶¥
ÒýÓÃ
Application - È«¾Ö»º´æ
Session - ¾Ö²¿»º´æ
È»ºó»¹ÓÐÎļþ»º´æ


ºÇºÇ,¶¥Ò»ÏÂ

ÄÚ´æºÍÎļþ¶¼¿ÉÒÔ

ÒýÓÃ
ÄÚ´æºÍÎļþ¶¼¿ÉÒÔ

¶¥

ѧϰÖÐ


Ïà¹ØÎÊ´ð£º

asp³õѧÎÊÌâ¡£responseÕÒ²»µ½

<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'×¢Òâ±äÁ¿ ......

aspÖÐÓÃjavascript¶¯Ì¬¸Ä±äImageµÄsrcµÄ·¾¶ÎÊÌâ

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getEleme ......

ASP¼òµ¥ÎÊÌâ

conn.asp

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

asp´¥·¢Ê¼þÎÊÌâ

ÔÚÒ»¸ö·¢±íÎÄÕµÄÒ³Ãæ£¬Èç¹ûÖÐ;¹Ø±ÕÒ³Ãæ£¬ÕâÌáʾÊÇ·ñ·ÅÆú±à¼­£¬
Èç¹ûµã»÷·ÅÆú£¬ÔòתÏòÌîд·ÅÆúÔ­ÒòµÄ½çÃæ£¬
Èç¹ûµã²»·ÅÆú£¬ÕâÍ£ÁôÔÚÔ­Ò³Ãæ£¬
Èç¹ûÊǵã»÷Ò³ÃæµÄ³¬¼¶Á´½Ó£¬Ôò´¥·¢Ê¼þʧЧ

ÈçºÎ±àд´ú ......

ÈçºÎÓÃHttpClientÉèÖûòÕßÐÞ¸ÄASPÖÐsessionµÄÊôÐÔ

ÏȰÑÎÒµÄÇé¿ö˵Ã÷һϡ£

ÏÖÔÚÓÐÁ½¸öaspÒ³Ãæ£¬ÊǸºÔð×¢²áÓû§µÄ£¬¼ÇΪregister.aspºÍresult.asp¡£

ÆäÖÐregister.asp°üº¬Á˸÷ÖÖ×¢²áÐÅÏ¢£¬²¢ÓÐÒ»¸öËæ»úÉú³ÉµÄÑéÖ¤Â루Õâ¸öÊÇÖØµã£©£¬µ±Ìá½»×¢²áÒ³ÃæÊ±£¬» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ