Allows users to see your ASP's original code

If you write an ASP program, want to let your user see ASP's raw code, you can use FileSystemObject this object to send out the program original code. Dim strURL strURL = Request.QueryString ("URL") Dim Strdir, strFileName Strdir =

ASP Beginner's Tutorial: ASP Cookies

ASP Cookies Cookies are often used to identify users.Example Dim numvisitsResponse.Cookies ("NumVisits"). expires=date+365Numvisits=request.cookies ("NumVisits") If numvisits= "" ThenResponse.Cookies ("NumVisits") =1Response.Write ("welcome!

ASP online Headcount Statistics code

ASP this script, we will be able to know and show the number of active visitors in our page at a particular moment. The script has two parts: a filename Global.asa (check data, "Global.asa" file in this tutorial), and a small code insert you must

ASP tutorials: ASP variables

ASP variable-vbscriptASP is not the language itself. In order to plan the ASP actually, you need to know the VBScript scripting language. This means that the rules of all VBScript variables can be applied to your ASP code. This lesson will teach you

ASP Clear Method Use instance tutorial

ASP Clear Method Use instance tutorial The clear method clears any buffered HTML output.Note: This method does not explicitly respond to the title, only the body reacts.Note: If response. The buffer is false, and this method will result in a run-

ASP Save Information

If Request.Form ("jobname") = "" Then Response.Write (" ") Response.End End If If request.form ("mane") = "" Then Response.Write (" ") Response.End End If If request.form ("sex") = "" Then Response.Write (" ") Response.End End If If Request.Form

ASP User Login Program

'=====================================================================' Software name: New Cloud Website Management system' Current version: Newcloud Site Management System version 2.1' File name: admin_password.asp' Update Date: 2004-12-20'

ASP parameter passed to next page

"Pass form" objects submitted by a form G ' ET If request.querystring.count>0 Then Qstr= "?" For each x in Request.QueryString Qstr = qstr & x & "=" ' Write Name of Parameter Qstr = qstr & Server.URLEncode (Request. QueryString (x)) & "&" ' Write

ASP Simple User Login

chr

ASP Simple User Login Dim uid,pwdUID =html_encode (Request.Form ("UID"))PWD =html_encode (Request.Form ("pwd"))If uid = "Admin_videa" and pwd= "videa888" ThenSession ("Admin") =uidResponse.Redirect (".. /input.asp ")ElseResponse.Write (" ")Response.

ASP to add watermark code to the picture

Set JPEG1 = Server.CreateObject ("Persits.jpeg") Set JPEG2 = Server.CreateObject ("Persits.jpeg") Jpeg1.open Server.MapPath ("1.jpg") Jpeg2.open Server.MapPath

ASP Site Search Source

asp Site Search Source Please enter the key word: multiple keywords separated by "space" or "comma"! If Request.Form ("Submit") <> "thenDim database,conn,connstrdatabase= "Example.mdb" database nameSet Conn=server.createobject ("Adodb.connection") '

Does the ASP detection space support the AspJpeg component and generate thumbnails

' Function name: isobjinstalled' Function: Check if the component is installed' parameter: strclassstring----Component Name' Return value: true----already installed' False----not installed function isobjinstalled (strclassstring) On Error

ASP Operation Excel Technology Summary (1/4)

DirectoryFirst, the Environment configurationThe basic operation of ASP to ExcelASP operation Excel to generate datasheetIv. ASP operation Excel generates chart diagramFive, server-side Excel file browsing, downloading, deletion schemeVI. Appendix

ASP Performance test report (Turn) (eight)

Using procedures and functions has great benefits for the organization and maintenance of your code, especially when some of the code in the page needs to be used more than once. However, it is a disadvantage to have a function (or procedure) call

ASP Performance Test Part II (EXT) (vi)

What type of cursor and record locking methods are most efficient? All of the tests so far have used only "forward only" Grand to access the recordset. ADO provides more than three types of cursors for recordsets: Statically scrollable cursors,

How to Enhance ASP program performance (1) (Jaklin excerpt from Yesky)

How to Enhance ASP program performance (1) 2000-08-10 · Gan Ganping · Yesky Brief introduction Performance is a very important feature. You need to design the performance metrics beforehand, otherwise you'll have to rewrite the program for that. is

optimization of ADO in ASP

1 Connection 1.1 Pooling In the Web application, there are often many users at the same time access to the database, and the ASP is the scope of the object is page level, that is, each page to join and disconnect the database, will it be very slow?

ASP Performance test report (Turn) (ii)

, ASP dynamically generated content in what way to output the highest efficiency? Author: Cactus Studios This article hits: 123 Generating dynamic content on the server is one of the main reasons to use ASP, so the first test project we choose is to

A good paging method, data deletion method (with confirmation and cancellation windows), search for keyword (including spaces) processing-ASP tutorial, data

Keyword = request ("Keyword ")Keyword = replace (Keyword ,"","")Page = Request. QueryString ("page ")SQL = "select * from exam information where exam name like '%" & keyword & "% '"Rs. open SQL, conn, 1, 1Dim page, maxPerPageMaxPerPage = 2' number

Some problems that ASP may encounter when dealing with databases!

Q: Why does my RecordCount always return-1?A: You should use this mode to open the record set for database access:Rs. open strSQL, conn, 1, 1StrSQL is the SQL statement used to operate the database, and conn is the Connection variable used to

Total Pages: 1800 1 .... 1663 1664 1665 1666 1667 .... 1800 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.