外文文献—ASP3.0和IIS5.0的新特性

外文资料ASP 3.0 &IIS 5.0' new Characteristic propertyOne of the most exciting new features in ASP 3.0 an

外文资料 ASP3.0&IIS5.0'newCharacteristicproperty OneofthemostexcitingnewfeaturesinASP3.0andIIS5.0 istheintroductionofprogrammableserversideredirection.What thismeansisthat,finally,wecantransfercontrolandexecutionof apagetoanotheronewithouthavingtobothertheclientbyusing Response.Redirect.We'llseewhatwemeanbythisnext. TheProblemswithClient-sideRedirection ASPprogrammersregularlyusetheResponse.Redirectstatement toloadadifferentpagetotheonethatiscurrentlyexecuting. However,manydon'trealizethatthisdoesn'tautomaticallycause theservertoimmediatelyloadandexecutethenewpage.Whatit actuallydoesisaddanHTTPredirectionheadertotheoutput streambeingsentfromtheWebservertotheclient. Thisheaderlookssomethinglikethis: HTTP/1.1302ObjectMoved Locationnewpage.asp ThestandardHTTPstatusmessageinthisheader,302Object Moved,tellsthebrowserthattheresourcetheyrequestedhas moved.TheLocationheaderprovidestheaddressofthepagethey

腾讯文库外文文献—ASP3.0和IIS5.0的新特性