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

ASP.NET postback£¨»Ø·¢£©ºóÈçºÎ±£³ÖÍøÒ³µÄλÖÃ

ͨ³£Çé¿öÏ£¬ASP.Net Ò³Ãæ PostBack£¨»Ø·¢£©ºó£¬Ò³ÃæÒ»°ã¶¨Î»ÔÚÕû¸öÍøÒ³µÄ¶¥²¿!µ«ÎÒÃÇÔÚʵ¼ÊÏîÄ¿Öо­³£ÐèÒª£¬»Ø·¢ºóÄܶ¨Î»µ½×Ô¼º¸Õ¸Õµã»÷Ìá½»°´Å¥Î»Öã¬ÄÇÕâÖÖÇé¿öÈçºÎʵÏÖÄØ£¬ÏÂÃæ½éÉÜÈýÖÖʵÏÖЩ¹¦Äܵķ½·¨
 
Ò»¡¢Ó¦ÓóÌÐò¼¶ÉèÖãºÔÚweb.configÖÐÔö¼ÓÒ»¸öpages½Úµã
      <pages maintainScrollPositionOnPostBack="true">
¶þ¡¢Ò³Ã漶ÉèÖãºÔÚaspxÒ³ÃæÉϽøÐÐÉèÖÃ,ÔÚÒ³ÃæµÄpageÖ¸ÁîÖÐÔö¼ÓÊôÐÔ
    
     <@page MaintainScrollPositionOnPostback="true"
Èý¡¢ÔÚºǫ́cs´úÂëÖÐÉèÖÃ
    
      Page.MaintainScrollPositionOnPostBack = true;


Ïà¹ØÎĵµ£º

asp.net¸÷ÖÖÈÕÆÚ²Ù×÷


±¾ÎÄÎÒÃǽ«ÌÖÂÛµÄÊÇASP.NETÒ³Ãæ¼äÊý¾Ý´«µÝµÄ¼¸ÖÖ·½·¨£¬¶Ô´ËÏ£ÍûÄÜ°ïÖú´ó¼ÒÕýÈ·µÄÀí½âASP.NETÒ³Ãæ¼äÊý¾Ý´«µÝµÄÓô¦ÒÔ¼°±ãÀûÐÔ¡£
0¡¢ÒýÑÔ
WebÒ³ÃæÊÇÎÞ״̬µÄ£¬ ·þÎñÆ÷¶Ôÿһ´ÎÇëÇó¶¼ÈÏΪÀ´×Ô²»Í¬Óû§£¬Òò´Ë£¬±äÁ¿µÄ״̬ÔÚÁ¬Ðø¶ÔͬһҳÃæµÄ¶à´ÎÇëÇóÖ®¼ä»òÔÚÒ³ÃæÌøתʱ²»»á±»±£Áô¡£ÔÚÓÃASP.NET Éè¼Æ¿ª·¢Ò»¸öWebϵͳʱ£¬ Óöµ ......

asp.netÒ³ÃæʵÏֻسµµã»÷°´Å¥JavaScriptʵÏÖ

»Ø³µµã»÷°´Å¥
Ö»ÐèÔÚ.aspxÒ³Ãæ´úÂëÖмÓÈëÒ»¶ÎJavaScript¼´¿É£º
<script type="text/javascript" language="javascript">  
      document.onkeydown   =   Check;  
      function   Check(){ &n ......

asp.net viewstat Tampering Vulnerabilities

Trustwave's SpiderLabs Security Advisory TWSL2010-001:
Multiplatform View State Tampering Vulnerabilities
Published: 2010-02-08 Version: 1.1
SpiderLabs has documented view state tampering
vulnerabilities in three products from separate vendors.
View states are used by some web application frame ......

Asp.net ×Ô¶¨Òå ·ÖÒ³µ¼º½¿Ø¼þ

using System;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ZZZ.WebControls
{
[DefaultProperty("Text"), ToolboxData("<{0}:PageNavigate runat=\"server\" />")]
public class PageNavigate : WebControl, IPostBackEventHandler
{
......

ASP.NETÒ³ÃæÔËÐлúÖÆÒÔ¼°ÇëÇó´¦ÀíÁ÷³Ì

 
IIS´¦ÀíÒ³ÃæµÄÔËÐлúÖÆ£º
IIS×ÔÉíÊDz»ÄÜ´¦ÀíÏñASPXÀ©Õ¹ÃûÕâÑùµÄÒ³Ã棬ֻÄÜÖ±½ÓÇëÇóÏñHTMLÕâÑùµÄ¾²Ì¬Îļþ£¬Ö®ËùÒÔÄÜ´¦ÀíASPXÕâÑùÀ©Õ¹ÃûµÄÒ³Ã棬ÊÇÒòΪIISÓÐÒ»¸öISAPI¹ýÂËÆ÷£¬ËüÊÇÒ»¸öCOM×é¼þ¡£ASP.NET·þÎñÔÚ×¢²áµ½IISµÄʱºò£¬¾Í»áÌí¼ÓÒ»¸öWin32µÄÀ©Õ¹¶¯Ì¬¿âaspnet_isapi.dll¡£²¢½«À©Õ¹¿ÉÒÔ´¦ÀíµÄÒ³ÃæÀ©Õ¹Ãû£¨ÈçASPX ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ