搜索列表
-
javascript asp教程创建数据库连接
【ASP编程】While this section is devoted to ASP database utilization, it very important to remember that this web site is not intended to be a thorough ASP resource. Remember, the focus of this site is strictly limited to how to use JavaScript as your primary scripting language for ASP. You'...
javascriptasp教程创建数据库连接 -
javascript asp教程错误处理
【ASP编程】The ASPError Object has zero (0) Methods, nine (9) Properties, zero (0) Events, and zero (0) Collections. AspCode AspDescription Category Column Description File Line Number SourceThe way you access the ASPError Properties is with a Server Method. Yeah, I know; it does...
javascriptasp教程错误处理 -
javascript asp教程服务器对象
【ASP编程】Overview: The Server Object has seven (7) Methods, one (1) Property, zero (0) Events, and zero (0) Collections. List of Methods: Server Methods CreateObject( ) Server.CreateObject("ADODB.Recordset")Create an instance of an Object Execute( ) Server.Execute("fileName.asp")E...
javascriptasp教程服务器对象 -
javascript asp教程第十三课--include文件
【ASP编程】Server Side Includes: Experienced JavaScript programmers know that code reuse is good. Experienced JavaScript programmers also know that JavaScript functions are data types. So, we should be able to store a JavaScript function inside a Session Variable or an Application Variable,...
javascriptasp教程第十三课--include文件 -
javascript asp教程第十二课---session对象
【ASP编程】Overview: The Session Object is how you track a single user across many pages. It has four (4) properties, two (2) collections, one (1) method, and two (2) events. Get Started: In this series of examples we will create a password system. We will use the Session Object to track whet...
javascriptasp教程第十二课---session对象 -
javascript asp教程第十一课--Application 对象
【ASP编程】Overview: The Application Object represents a collection of ASP pages. The Application object has zero (0) properties, two (2) collections, two (2) methods, and two (2) events. Get Started: Below are a couple scripts for lesson11. <%@LANGUAGE="JavaScript"%> <%...
javascriptasp教程第十一课--Application对象 -
javascript asp教程第十课--global asa
【ASP编程】Global.asa: First of all, what is a global.asa? It's an optional script file that holds certain "global" information that you can access through the entire ASP appliciation. The global.asa is a plain text file saved with the .asa extension. You should only have one global.asa and it should go ...
javascriptasp教程第十课--globalasa -
javascript asp教程第九课--cookies
【ASP编程】Response Cookies in General: We'll start with the Response Cookies collection. I don't think it could be any easier. You simply put the name of the cookie in the argument. The corresponding value is a string. The only time it gets complicated is when you use keys (which I demonstrate b...
javascriptasp教程第九课--cookies -
javascript asp教程第八课--request对象
【ASP编程】Request Object: Request has five (5) Collections, one (1) Property, and one (1) Method. You'll use the Collections far more than the property or the method. Request Collections: Below is a table of the Request Collections and descriptions of how they are used. Request Collections Cli...
javascriptasp教程第八课--request对象 -
javascript asp教程第七课--response属性
【ASP编程】Below is a table of Response Properties along with examples and explanations. Response Properties Buffer Response.Buffer = trueAllows for the buffering of output CacheControl Response.CacheControl="Public" Sets Cache to "Public" or "Private" CharSet Response.CharSet="window...
javascriptasp教程第七课--response属性 -
javascript asp教程第六课-- response方法
【ASP编程】response 对象:reponse是asp中六个对象之一。它代表了服务器端对浏览器的回应。response有8种方法,9种属性和一个集。在这一课,我们就重点讲述方法。方法:在javascript中,asp方法使用括号。请注意依赖response.buffer的两个方法,我们将在下一课讲到他们。同样应该注意到addheader()和redirect(),因为他们必须优先于write...
javascriptasp教程第六课--response方法 -
javascript asp教程第五课--合二为一
【ASP编程】两条防线,一个函数: 试问你如何能保证客户端和服务器端具有相同的功能?表单域的验证闪现在我们眼前。别人把你的html复制到另外一个脚本,然后改变客户端的表单域验证--这并不是一件难事。摆在眼前的解决方法是将表单域的验证放置在服务器端。但那又意味着因为使用者的一个小错误,都要给服务器端要返回一串的错误信息。那么...
javascriptasp教程第五课--合二为一