asp.netʵÏÖα¾²Ì¬
webconfigα¾²Ì¬
<system.web>
<httpHandlers>
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
<add verb="*" path="*.html" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
</httpHandlers>
</system.web>
<configuration>
<RewriterConfig>
<Rules>
<RewriterRule>
<LookFor>~/r_(.[\d]*).html</LookFor>
<SendTo>~/readbook.aspx?xd=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/(.[\d]*)_(.[\d]*).html</LookFor>
<SendTo><![CDATA[~/bookpage.aspx?cid=$1&xd=$2]]></SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/page(.[\d]*)_(.[\d]*).html</LookFor>
<SendTo><![CDATA[~/bookstore.aspx?page={0}&page1=$1&page2=$2]]></SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/page_b(.[\d]*).html</LookFor>
<SendTo><![CDATA[~/bookstore.aspx?page={0}&page2=$1]]></SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
</configuration>
ÐèҪעÒâµÄÊÇÐèÒªÔÚinternet¹ÜÀíÖÐIISÅäÖÃÌí¼ÓC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll£¬²¢ÇÒ°ÑÀ©Õ¹ÃûÐÞ¸ÄΪ£º.html£¬£¬£¬£¬ÊÇ·ñ¼ì²éÎļþµÄÑ¡Ôñ¹´µô
Ïà¹ØÎĵµ£º
²½Ö裺
1¡¢ÏÈÔÚDÅ̽¨Ò»¸öÐÂÎļþ¼Ð
2¡¢´ò¿ªVS2008£¬Ð½¨Ò»¸öÍøÕ¾£¬¸ü¸ÄÃû×Öºó´æ·ÅÔÚ1ÖеÄÎļþ¼ÐÖУ¬´ËʱҪ¼ÇµÃ¸ø¸ÃÍøÕ¾½¨Ò»¸öеÄÎļþ¼Ð£¬×¨ÃÅÓÃÀ´´æ·Å¸ÃÍøÕ¾ËùÓеÄÎļþ£»
3¡¢´î½¨Êý¾Ý·ÃÎʲ㣬µã»÷Îļþ——Ìí¼Ó——н¨ÏîÄ¿——Àà¿â£¬¸ü¸ÄÃû×ÖÖ®ºó£¬´æ·ÅÔÚ1ÖеÄÎļþ¼ÐÖУ¬Í¬ÑùҲΪÊý ......
×öÏîÄ¿Ò²ÓÐÒ»¶Îʱ¼äÁË£¬ÔÚ³ÌÐòÖÐÒ²Óöµ½ºÜ¶à°²È«·½ÃæµÄÎÊÌâ¡£Ò²¸Ã×ܽáÒ»ÏÂÁË¡£Õâ¸öÏîÄ¿ÊÇÒ»¸ö CMS ϵͳ¡£ÏµÍ³ÊÇÓà ASP.NET ×öµÄ¡£¿ª·¢µÄʱºò·¢ÏÖ΢Èí×öÁ˺ܶలȫ´ëÊ©£¬Ö»ÊÇÓÐЩÐÂÊÖ³ÌÐòÔ±²»ÖªµÀÔõô¿ªÆô¡£ÏÂÃæÎÒͨ¹ý¼¸¸ö·½Ãæ¼òµ¥½éÉÜ£º
¡¡¡¡1£ºSQL ×¢Èë
¡¡¡¡2£ºXSS
¡¡¡¡3£ºCSRF
¡¡¡¡4£ºÎļþÉÏ´«
SQL ×¢Èë
¡¡¡¡Ò ......
ʹÓà ASP.NET ImageMap ¿Ø¼þ´´½¨¾ßÓÐÓû§¿ÉÒÔµ¥»÷µÄµ¥¸öÇøÓòµÄͼÏñ£¬ÕâЩµ¥¸öÇøÓò³ÆΪ×÷Óõ㡣ÿһ¸ö×÷Óõ㶼¿ÉÒÔÊÇÒ»¸öµ¥¶ÀµÄ³¬Á´½Ó»ò»Ø·¢Ê¼þ¡£
Ò»¡¢±³¾°
ImageMap ¿Ø¼þÓÉÁ½¸öÔªËØ×é³É¡£µÚÒ»¸öÊÇͼÏñ£¬Ëü¿ÉÊÇÈκαê×¼ Web ͼÐθñʽµÄͼÐΣ¬Èç .gif¡¢.jpg »ò .png Îļþ¡£
µÚ ......
±¾Îĺʹó¼Ò·ÖÏíµÄÊÇ.NETÖд°ÌåµÄÆ®¶¯¡£Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú°É¡£
ÓÃ.NETÖÆ×÷Æ®¶¯µÄ´°Ìåʱ£¬ÐèҪʹÓÃTimer¿Ø¼þ¡£Ê×ÏÈ£¬µ±´°Ìå¼ÓÔØʱÉ趨һ¸ö³õʼλÖã¬È»ºóÔÚ´°ÌåÖж¨ÒåÁ½¸öTimer¿Ø¼þ£¬ÆäÖÐtimer1ÓÃÀ´¿ØÖÆ´°Ìå´Ó×óÏòÓÒÆ®¶¯£¬timer2¿ØÖÆ´°Ìå´ÓÓÒÏò×óÆ®¶¯£¬µ±timer1Æô¶¯ºó£¬Ã¿¸ô0.01s£¬¶¼»áÔÚ´¥·¢µÄʼþÖиø ......