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

ÈçºÎÅäÖÃASPÔËÐл·¾³

1.Èç¹ûÄúµÄ²Ù×÷ϵͳΪWindows 98£¬ÇëÔËÐÐ Windows98µÄ°²×°¹âÅÌ¡£ÔÚÆäAdd-ons\pwsĿ¼ÏÂÕÒµ½pwsµÄ°²×°³ÌÐò£¬ÔËÐа²×°¼´¿É
2.Èç¹û²Ù×÷ϵͳΪ Windows 2000 ÒÔÉÏ£¬¿ÉÒÔ°´Í¼4.1.1µÄ·½·¨°²×° IIS£º
´ò¿ª¡¾¿ØÖÆÃæ°å¡¿£¬ÕÒµ½ ¡¾Ìí¼Ó/ɾ³ý³ÌÐò¡¿→¡¾Ìí¼Ó/ɾ³ýWINDOWS×é¼þ¡¿£¬
µ¯³ö ¡¾Windows ×é¼þÏòµ¼¡¿ £¬Ñ¡Ôñ ¡¾Internet ÐÅÏ¢·þÎñ(IIS)¡¿(ÔÚ Windows Server 2003 ÖУ¬´ËÑ¡ÏîÊÇÔÚ ¡¾¾ÍÓóÌÐò·þÎñÆ÷¡¿µÄ¡¾ÏêϸÐÅÏ¢¡¿Àï)£¬²åÈë°²×°ÅÌ£¬°´¡¾ÏÂÒ»²½¡¿¿ªÊ¼°²×°¡£Èç4.1.1Ëùʾ:
ͼ4.1.1 Ñ¡Ôñ°²×° IIS·þÎñ
°²×°³É¹¦ºó£¬¾Í¿ÉÒÔ°´ÕÕ×Ô¼ºµÄÒªÇóÅäÖÃIISÁË¡£Ê×ÏÈÄúÐèÒªÖªµÀIISÔÚÎÒÃÇʹÓõĹý³ÌÖг䵱×ÅÒ»¸öÐéÄâµÄ½ÇÉ«¡£Ò²¾ÍÊÇÎÒÃÇÊÇ“¼Ù×°µÄ”°Ñ±¾»ú´ÅÅÌ¿Õ¼äµÄÒ»²¿·Ö¿Õ¼ä»®¹éΪ“·þÎñÆ÷”£¨Êµ¼ÊÉÏÎÒÃÇ·ÃÎʵÄÍøÕ¾ÊÇ´æ´¢ÔÚרÃŵÄÍøÂç·þÎñÆ÷Éϵģ©¡£¼ÈÈ»ÎÒÃÇÒ²Òª·ÃÎÊ“·þÎñÆ÷”ÉϵÄÄÚÈÝ£¨ËäÈ»Ëü´æÔÚ±¾»úÉÏ£©£¬ÄÇôÎÒÃÇҲҪͨ¹ýÀàËÆÓÚ·ÃÎÊÍøÕ¾µÄģʽȥ·ÃÎÊ¡£
 
IISµÄĬÈÏĿ¼°²×°ÔÚ ÏµÍ³ÅÌ:\Inetpub\wwwrootÀҲ¾ÍÊÇ˵ÉÏÃæµÄÐéÄâĿ¼http://localhost »òhttp://127.0.0.1ÆäʵÊÇÖ´ÐÐÄú»úÆ÷ÉÏÎïÀí·¾¶Îª ϵͳÅÌ:\Inetpub\wwwrootÉϵÄÄÚÈÝ£¬³¢ÊÔ¿´¿´IISÆðʼҳÖеÄlocalstart.aspÊDz»ÊǾÍÔÚwwwrootĿ¼À ͬÀí£¬Èç¹ûÔÚwwwrootÀïÓÐÒ»¸öb.aspÎļþ£¬Í¬Ñù¿ÉÒÔͨ¹ýhttp://localhost/b.asp »òhttp://127.0.0.1/b.asp À´·ÃÎÊ¡£
 
×¢Ò⣺ËäÈ»ÔÚWindows98ÏÂÒ²¿ÉÒÔÅäÖÃASP»·¾³£¨PWS£©£¬µ«ÎÒÃÇÇ¿ÁÒ½¨ÒéÄúʹÓÃWindows2000¼°ÆäºóÐø°æ±¾µÄWeb·þÎñÆ÷£¨IIS£©À´ÅäÖÃASP»·¾³¡£±¾ÊéÖеķ¶ÀýÒ²¶¼ÊÇ»ùÓÚIIS·½·¨µÄ¡£
 
Ìáʾ£ºPWSÊÇPersonal Web ServerµÄËõд£¬ÒâÒëÊÇ“¸öÈËÍøÂç·þÎñÆ÷”£»¶øIISÊÇInternet Information ServerµÄËõд£¬ÒâÒëÊÇ“ÒòÌØÍøÐÅÏ¢·þÎñÆ÷”¡£´Ó×ÖÃæµÄÒâ˼À´¿´£¬Äú¾Í¿ÉÒÔ·Ö±æ³öÄÄÒ»¸öµÄ¹¦ÄÜ»á¸üÇ¿¾¢Ð©¡£
 
¼¼ÇÉ£ºËäȻĬÈϵÄĿ¼¾Í¶¨ÒåÔÚ ÏµÍ³ÅÌ:\Inetpub\wwwrootÀµ«ÊÇÔÚÒ»°ãÇé¿öÏ¡£ÎÒÃÇ»¹ÊDz»Ö±½ÓµÄʹÓÃËü¡£ÒòΪÈÕ»ýÔÂÀÛ£¬²»¿É±ÜÃâµÄÎÒÃÇÒª²Ù×÷¶à¸öASPÎļþ£¬»òÕßµ÷ÊÔ¶à¸öASPÕ¾µã£¬Èç¹ûÎļþ¶¼É¢·ÅÔÚwwwrootÀ»áÔì³ÉºÜ¶à²»±ØÒªµÄÂé·³¡£×îºÃ¸øÿһ¸ö²»Ïà¸ÉµÄÎļþȺµ¥¶À½¨ÔÚÒ»¸öÎļþ¼ÐÀï¡£
 
ͬʱ£¬wwwrootµÄĬÈÏĿ¼ҲÊÇ¿ÉÒÔ¸ü¸ÄµÄ¡£½øÈ롾¿ØÖÆÃæ°å¡¿→¡¾¹ÜÀí¹¤¾ß¡¿→¡¾Internet ·þÎñ¹ÜÀíÆ÷¡¿£¬Ë«»÷Ëü£¬»á³öÏÖ¡¾InternetÐÅÏ¢·þÎñÆ÷¡¿µÄÖ÷½çÃ棬ÔÚ´°ÌåÀïÕÒµ½¡¾¼ÆËã»ú


Ïà¹ØÎĵµ£º

ÈçºÎÔÚaspÖÐÉèÖÃ302ºÍ301Ìøת


³£ÓõÄÖض¨Ïò·½Ê½ÓÐ: 301 redirect, 302 redirect Óë meta fresh£º
ASP ÖУ¬ÎÒÃÇÏ°¹ßʹÓà Response.Redirdect À´ÊµÏÖÒ³ÃæµÄÌøת£¬µ«ÊÇÕâÖÖÌøת·½Ê½µÄ״̬ÊÇ 302 µÄ£¬ÊôÓÚÁÙʱÌøת£¬¶ÔÓÚËÑË÷ÒýÇæÀ´Ëµ£¬ÊÇÒ»ÖÖ²»ÓѺõÄÖض¨Ïò·½Ê½¡£
ASP 3.0 ÖУ¬ÓÐÁËÁíÒ»ÖÖ·½Ê½£¬¼´ Response.Transfer ¡£¹ØÓÚÕâ¸ö£¬¿ÉÒÔ²éѯÏà¹ØµÄÐÅÏ¢¡£
......

C#Éú³Écom×é¼þ£¬¹©aspµ÷ÓÃ

C#Éú³Écom×é¼þ£¬¹©aspµ÷ÓÃ
Ò»¡¢vs2005—н¨ÏîÄ¿—C#Àà¿â
Àà¿âÔ´ÂëÈçÏÂ(°üº¬½Ó¿Ú£¬À࣬ʼþ½Ó¿Ú)£º
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Data.SqlClient;
using System.Runtime.InteropServices;
namespace entryclass
{
   ......

asp·À¶ñÒâ×¢²á¼°¹àË®

֮ǰд¹ýÒ»¸ö²»ÓÃÑéÖ¤ÂëµÄ·À×¢²á»ú·½·¨£¬Ê¹ÓÃÁ˽«½ü2Äêºó£¬³¹µ×ʧЧ¡£
½ñÌìżȻײ¼ûÒ»¸ö·ÀÖ¹¶ñÒâ×¢²áµÄ·½·¨£¬ÕýÔÚ˼¿¼ing¡£ÏÈ°Ñ·½·¨ÁÐÏ£º
»ñÈ¡¿Í»§¶ËÌá½»µÄÐÅÏ¢£»
½«ÐÅÏ¢´æÈë Session£»
Éú³ÉÒ»¸öËæ»úÊý£¨³ÆΪ ticket£©£»
½«Ëæ»úÊýÒ²´æÈë Session£»
Óà JavaScript µÄÐÎʽ½«Ëæ»úÊýÒÔÁ´½ÓµÄÐÎʽÊä³ö£¬²¢Ìáʾ¿Í»§µã»÷ÉÏÒ ......

·þÎñÆ÷ʵÀý£ºÓÃASP¼ÜÉè¸øÿ¸öIISÕ¾µã½¨Á¢Ò»¸öÓû§


Ò»¡¢ÕâÑùÅäÖõĺô¦£¿
²»Öª´ó¼ÒÓÐûÓÐÌý¹ýÅÔ×¢£¿ÎÒ¼òµ¥µÄ½âÊÍһϰɣºÓиöÈËÏëºÚµôAÕ¾µã£¬µ«ÕÒÀ´ÕÒÈ¥¶¼Ã»·¢ÏÖ¿ÉÀûÓõÄ©¶´£¬ÎÞÒâÖÐËû·¢ÏÖÓëAͬ·þÎñÆ÷ÉÏ»¹ÓиöBÕ¾µã£¬²¢ÇÒÔÚBÕ¾µãÉÏÕÒµ½ÁË¿ÉÀûÓõÄ©¶´£¬ÓÚÊÇËû½«Ä¾Âí´ÓBÕ¾ÖÐÉÏ´«ÖÁ·þÎñÆ÷£¬Èç¹û·þÎñÆ÷ȨÏÞÅäÖò»µ±£¬ÄÇôÏÖÔÚËû¾Í¿ÉÒÔºÚµô·þÎñÆ÷ÉϵÄËùÓÐÕ¾µãÁË£¡Èç¹ûÎÒÃÇΪà ......

ASP¡¢JSPÓëPHP Äã»áÑ¡Ë­

 Ä¿Ç°£¬×î³£ÓõÄÈýÖÖ¶¯Ì¬ÍøÒ³ÓïÑÔÓÐASP(Active   Server   Pages),JSP(Java   Server   Pages),  
  PHP   (Hypertext   Preprocessor)¡£    
   
  ¼ò   ½é    
   
  ¡¡¡¡ASPÈ«ÃûActive   Server & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ