ASP网页设计我加一点,转自msdn
优点:简单易学、开发速度快、有很多年“历史”,能找到非常多别人做好的程序来用、配合activeX功能强大,很多php做不到的asp+activeX能做到,例如银行安全控件VariableDescriptionALL_HTTPAllHTTPheaderssentbytheclient.
ALL_RAWRetrievesallheadersintheraw-form.ThedifferencebetweenALL_RAWandALL_HTTPisthatALL_HTTPplacesanHTTP_prefixbeforetheheadernameandtheheader-nameisalwayscapitalized.InALL_RAWtheheadernameandvaluesappearastheyaresentbytheclient.
APPL_MD_PATHRetrievesthemetabasepathforthe(WAM)ApplicationfortheISAPIDLL.
APPL_PHYSICAL_PATHRetrievesthephysicalpathcorrespondingtothemetabasepath.IISconvertstheAPPL_MD_PATHtothephysical(directory)pathtoreturnthisvalue.
AUTH_PASSWORDThevalueenteredintheclientsauthenticationdialog.ThisvariableisonlyavailableifBasicauthenticationisused.
AUTH_TYPETheauthenticationmethodthattheserverusestovalidateuserswhentheyattempttoaccessaprotectedscript.
AUTH_USERRawauthenticatedusername.
CERT_COOKIEUniqueIDforclientcertificate,Returnedasastring.Canbeusedasasignatureforthewholeclientcertificate.
CERT_FLAGSbit0issetto1iftheclientcertificateispresent.
bit1issetto1iftheCertifyingAuthorityoftheclientcertificateisinvalid(notinthelistofrecognizedCAontheserver).
CERT_ISSUERIssuerfieldoftheclientcertificate(O=MS,OU=IAS,CN=username,C=USA).
CERT_KEYSIZENumberofbitsinSecureSocketsLayerconnectionkeysize.Forexample,128.
CERT_SECRETKEYSIZENumberofbitsinservercertificateprivatekey.Forexample,e.g.1024.
CERT_SERIALNUMBERSerialnumberfieldoftheclientcertificate.
CERT_SERVER_ISSUERIssuerfieldoftheservercertificate.
CERT_SERVER_SUBJECTSubjectfieldoftheservercertificate.
CERT_SUBJECTSubjectfieldoftheclientcertificate.
CONTENT_LENGTHThelengthofthecontentasgivenbytheclient.
CONTENT_TYPEThedatatypeofthecontent.Usedwithqueriesthathaveattachedinformation,suchastheHTTPqueriesGET,POST,andPUT.
GATEWAY_INTERFACETherevisionoftheCGIspecificationusedbytheserver.TheformatisCGI/revision.
HTTP_<HeaderName>ThevaluestoredintheheaderHeaderName.AnyheaderotherthanthoselistedinthistablemustbeprefixedbyHTTP_inorderfortheServerVariablescollectiontoretrieveitsvalue.
NoteTheserverinterpretsanyunderscore(_)charactersinHeaderNameasdashesintheactualheader.ForexampleifyouspecifyHTTP_MY_HEADER,theserversearchesforaheadersentasMY-HEADER.
HTTPSReturnsONiftherequestcameinthroughsecurechannel(SSL)oritreturnsOFFiftherequestisforanon-securechannel.
HTTPS_KEYSIZENumberofbitsinSecureSocketsLayerconnectionkeysize.Forexample,128.
HTTPS_SECRETKEYSIZENumberofbitsinservercertificateprivatekey.Forexample,1024.
HTTPS_SERVER_ISSUERIssuerfieldoftheservercertificate.
HTTPS_SERVER_SUBJECTSubjectfieldoftheservercertificate.
INSTANCE_IDTheIDfortheIISinstanceintextualformat.IftheinstanceIDis1,itappearsasastring.YoucanusethisvariabletoretrievetheIDoftheWeb-serverinstance(inthemetabase)towhichtherequestbelongs.
INSTANCE_META_PATHThemetabasepathfortheinstanceofIISthatrespondstotherequest.
LOCAL_ADDRReturnstheServerAddressonwhichtherequestcamein.Thisisimportantonmulti-homedmachineswheretherecanbemultipleIPaddressesboundtoamachineandyouwanttofindoutwhichaddresstherequestused.
LOGON_USERTheWindowsNT 还有如何才能在最短的时间内学完?我每天可以有效学习2小时,双休日4小时。 不能只是将它停留在纸上谈兵的程度上。 以上是语言本身的弱点,在功能方面ASP同样存在问题,第一是功能太弱,一些底层操作只能通过组件来完成,在这点上是远远比不上PHP/JSP,其次就是缺乏完善的纠错/调试功能,这点上ASP/PHP/JSP差不多。 不能只是将它停留在纸上谈兵的程度上。 ASP.Net摆脱了以前ASP使用脚本语言来编程的缺点,理论上可以使用任何编程语言包括C++,VB,JS等等,当然,最合适的编程语言还是MS为.NetFrmaework专门推出的C(读csharp),它可以看作是VC和Java的混合体吧。 ASP.Net摆脱了以前ASP使用脚本语言来编程的缺点,理论上可以使用任何编程语言包括C++,VB,JS等等,当然,最合适的编程语言还是MS为.NetFrmaework专门推出的C(读csharp),它可以看作是VC和Java的混合体吧。 ASP主要是用好六个对象,其实最主要的是用好其中两个:response和request,就可以随心所欲地控制网页变换和响应用户动作了。 如何学好ASP,以前也有人问过,把回答给你转过来看看能否对你有帮助: ASP.Net和ASP的最大区别在于编程思维的转换,而不仅仅在于功能的增强。ASP使用VBS/JS这样的脚本语言混合html来编程,而那些脚本语言属于弱类型、面向结构的编程语言,而非面向对象,这就明显产生以下几个问题: 掌握asp的特性而且一定要知道为什么。
页:
[1]