asp.net 2.0 ÏÂµÄ±íµ¥ÑéÖ¤CookielessÊôÐÔ
ÔÚ²»Ö§³ÖCookiesµÄÒƶ¯É豸ģÄâÆ÷ÖÐÎÞ·¨Õý³£½øÐÐ±íµ¥ÑéÖ¤,ÁªÏëµ½×òÌìʹÓÃweb.configÉèÖÃcookielessÊôÐÔʱ»áÔÚ·ÃÎÊʱ»á³öÏÖ"Cannot use a leading .. to exit above the top directory"µÄÒì³£,×ÔÈ»¶øÈ»µÄÎÒ¾ÍÏëµ½ÁËÇ°Ò»¶Îʱ¼äÀ§ÈÅÎҺܾõÄÒ»¸öÕ¾µãÒì³£ÎÞ·¨Ê¹ÓÃÇ°µ¼ .. ÔÚ¶¥¼¶Ä¿Â¼ÉÏÍ˳ö(Cannot use a leading .. to exit above the top directory)¡£×ÛºÏһϣ¬ÖÕÓÚÀí½âÁËΪʲô»á³öÏÖÕâÑùµÄÒì³££¬Ò²Àí½âÁËΪʲôÔÚasp.net 2.0 ÖУ¬½«ÔÀ´cookielessÊôÐÔÖ»ÄÜÉèÖÃtrue|false£¬¸Ä³ÉÁË¿ÉÒÔÉèÖÃö¾ÙHttpCookieModeµÄÖµ,·Ö±ðΪ:AutoDetect,UseCookies,UseDeviceProfile,UseUri ¡£
Èç¹û¶Ô±íµ¥ÑéÖ¤ºÜÓоÑéµÄÅóÓÑ¿ÉÄÜ»áºÜÇå³þ£¬¿ÉÒÔÓÐÁ½ÖÖ·½Ê½À´±£´æµ±Ç°µÄSessionIDºÍÓû§µÄÑé֤ƱÐÅÏ¢£¬·Ö±ðÊÇʹÓÃCookieºÍÔÚURLµØÖ·¼ÓÉÏÒ»´®±àÂë¹ýµÄ×Ö·û´®À´±êʶµ±Ç°µÄSessionIDºÍÓû§µÄÑé֤ƱÐÅÏ¢¡£µÚÒ»ÖÖ·½Ê½·Ç³£Æձ飬¶ÔÓÚʹÓÃURIÀ´±êʶµ±Ç°SessionIDºÍÑé֤Ʊ£¬ÎÒÏàÐÅÈç¹û²»ÊÇÌØÊâÐèÒªµÄ»°£¬ÏàÐźܶàÈ˶¼»á¸úÎÒÒ»Ñù»¹ÎÞ·¨ºÜºÃÀí½â¡£ÎÒ×öÁËÁ½¸ö¼òµ¥µÄÒ³Ã棬À´Ä£ÄâÓû§µÄÑéÖ¤¹ý³Ì¡£µ±ÎÒÔÚweb.configÖÐÉèÖÃcookieless="AutoDetect"ʱ£¬¾Í¸úÎÒÃÇƽ³£Ò»Ñù£¬µÇ¼µÄURLÊÇ£º
http://localhost:1115/FormsAuthentication/Security/Default.aspx
¶øµ±ÎÒÉèÖÃcookieless="UseUri"ʱ£¬ÕâʱURLµØÖ·¾Í±ä³ÉÁË£º
http://localhost:1115/FormsAuthentication/(F(V0-gEZNEzXUqevbOqKwNoBcMf6vBWnyNbdpa2UhZzrfOUkGPvyB91-9nFlnBDmCAgdpz4gJ6kq-QOVjbNsvKig2))/Security/Default.aspx
ÔÚÕ¾µãĿ¼¶àÁËÒ»¼¶Ä¿Â¼£¬ÕâÀïµÄÖµ¾ÍÊǵ±Ç°»áÓû§µÄÑé֤ƱÐÅÏ¢ºÍSessionIDÐÅÏ¢¡£ÔÚijЩ³¡ºÏ£¬ÕâÑù×öÊǷdz£ÓÐÒâÒåµÄ£¨»òÕßÊDZØÐëµÄ£©£¬ÒòΪÔÚ²»Ö§³Öcookie»·¾³Ï£¬ÄãҪȥ±êʶһ¸öÊÇ·ñÊôÓÚͬһ¸ö»á»°£¬µ±Ç°Óû§ÊÇ·ñÒÑÑéÖ¤¹ý£¬µÈµÈÓë»á»°Ïà¹ØÐÅÏ¢µÄʱºò¾Í»á±äµÃÒì³£µÄÀ§ÄÑ¡£
Á˽âÁËÕâÁ½¸ö±£´æ»á»°ÐÅÏ¢µÄ·½Ê½ºó,ÎÒÃÇÔÙÀ´ÌÖÂÛÒ»ÏÂ,asp.net teamΪʲô°ÑÔÀ´Ö»ÄÜÉèÖÃtrue | falseµÄÊôÐԸijɿÉÒÔÉèÖò»Í¬µÄö¾ÙÖµ.Ê×ÏÈÎÒÃÇÀ´¿´¿´Õâ4¸öÖµµÄº¬Òâ(ÔÚWindows Live Writer ²»ÄÜ»±í¸ñ :< ):
AutoDetect:×Ô¶¯¼ì²â¿Í»§¶Ëʵ¼ÊÊÇ·ñÖ§³ÖcookieÔÙÀ´¾ö¶¨Ê¹ÓÃÁ½ÖÖ·½Ê½ÖеÄÄÄÒ»ÖÖ(×î¼ÑÊÊÓ¦)¡£
UseCookies:²»¹Ü¿Í»§¶ËÊÇ·ñÖ§³Öcookie,·´Õý¶¼Ê¹ÓÃcookieÀ´±êʶ(µÚÒ»ÖÖ·½Ê½)¡£
UseDeviceProfile:¸ù¾ÝÉ豸ÎļþÀ´ÅжÏÊÇ·ñÖ§³Öcookie,½ø¶ø¾ö¶¨Ê¹ÓÃÄÄÖÖ·½Ê½¡£ÏàÐźܶàÈ˶¼¶ÔÕâ¸ö¸ÅÄîºÜÄ£ºý£¬ÓÉÓÚ×î½üÔÚÑо¿WAP£¬ËùÒÔ¶ÔËüÓÐÒ»
Ïà¹ØÎĵµ£º
select top 6 * from ViewHouseSale where 1=1 and (EstateType='0' or EstateType='1')
and DateDiff(day,PubDate,getdate()) <=7 and IfBenefit='Y' and IfValid='Y' order by PubDate DESC
select top 6 * from ViewHouseSale where 1=1 and&nb ......
ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
µÚÒ»£º
C# code
private void Button1_Click( object sender, System.EventArgs e )
{
Response.Redirect( Request.Url.ToString( ) );
}
µÚ¶þ£º
C# code
private void Button2_Click( object sender, System.EventArgs e )
{
Response.Write( " < script langua ......
Ò»¡¢ÏìÓ¦Öض¨Ïò·½·¨
ÏìÓ¦Öض¨Ïò·½·¨ÊÇĿǰΪֹ½«Ò»¸öÍøÒ³Öض¨Ïòµ½ÁíÒ»¸öÍøÒ³µÄ×î¼òµ¥µÄ·½·¨µÄ×î¼òµ¥µÄ·½·¨¡£µ±Web·þÎñÆ÷½Óµ½Ò»¸öÖض¨ÏòÇëÇóºó£¬Ëü»á½«Ò»¸öÏìӦͷË͸ø¿Í»§¶Ë£¬Õ⽫µ¼Ö¿ͻ§¶Ë·¢ËÍÒ»¸öеÄÇëÇóµ½·þÎñÆ÷¡£°´¾ä»°Ëµ£¬Ò»¸öÖض¨ÏòÇëÇóʵ¼ÊÉÏÊÇÁ½¸öÇëÇóÏìÓ¦£ºÒ»¸öÊÇ×î³õµÄÇëÇóÏìÓ¦£¬ÁíÒ»¸öÊÇеÄÖض¨ÏòÇëÇóÏìÓ¦¡ ......
FCKeditorÏà¹Ø×ÊÁϼò½é£º
¹Ù·½ÍøÕ¾http://www.fckeditor.net/
¹Ù·½Îĵµhttp://wiki.fckeditor.net/
ÏÂÔصØÖ·http://www.fckeditor.net/download/default.html
¹Ù·½ÑÝʾhttp://www.fckeditor.net/demo/default.html
FCKEditor asp.netÉèÖÃ
ÏÂÔØ£ºhttp://www.fckeditor.net
£¨ÒªÏÂÔØFCKeditor2.4.2.zipºÍFCKeditor.NET ......
1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
¡¡¡¡·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø£¨Connection Pool£©¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø±Õʱ ......