在ASP中加密方法有對應的解密方法好象不多,現在根據前輩資料整理出在asp中加密與解密函數 rsa.asp <% rem 在ASP中實現加密與解密,加密方法:根據RSA rem 聯絡:hnsoso@sina.com Class clsRSA Public PrivateKey Public PublicKey Public Modulus Public Function Crypt(pLngMessage, pLngKey) On Error
如果你用ODBC connection (DSN or DSN-less)來訪問遠端的(UNC path)資料庫, OLEDB會出現以下錯誤資訊: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It
講解ASP方面的知識比較全!適合 剛開始學習ASP的朋友們 給我加分!!!! 第一部分 安裝Active Server Page的準備工作 .第一章 安裝和使用 WINDOWS NT Server ............ .第二章 安裝和使用 IIS ............ .第三章 安裝和使用 SQL Server ............ .第四章 Exchage Active Server, Index Server和
同一空間多綁一個網域名稱複製代碼 代碼如下:<% CheckDomain Sub CheckDomain() dim sDomain sDomain = Request.ServerVariables("HTTP_HOST") If Instr(sDomain,"a.xxx.com")>0 then Response.Redirect "a/" End Sub %> 同一空間多綁二個網域名稱 複製代碼 代碼如下:<% CheckDomain Sub
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
Below is a table of Response Properties along with examples and explanations. Response PropertiesBufferResponse.Buffer = trueAllows for the buffering of outputCacheControlResponse.CacheControl="Public" Sets Cache to "Public" or
The ASPError Object has zero (0) Methods, nine (9) Properties, zero (0) Events, and zero (0) Collections. AspCodeAspDescriptionCategoryColumnDescriptionFileLineNumberSourceThe way you access the ASPError Properties is with a Server Method. Yeah, I
Overview: The Server Object has seven (7) Methods, one (1) Property, zero (0) Events, and zero (0) Collections. List of Methods: Server MethodsCreateObject( )Server.CreateObject("ADODB.Recordset")Create an instance of an ObjectExecute(
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
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
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.
JavaScript is loosely typed. Database files are not. If you put text into a Boolean database column or a Boolean value into a date/time column, then you will get an error. For the most part this is not a problem, except for date/time. It does not
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
The Connection Execute(): If you want to retrieve data from a database then you have no choice but to use a Recordset. However, for the purposes of adding, updating, and deleting data you don't necessarily have to have a Recordset. It's up to you.
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
Below we will attempt to access data from a database without knowing the column names. Clearly the best way to utilize data in your database is to keep track of your schema. Schema is the layout of data in your database. The concept is well beyond