We already know that the scripts for the OnStart, onend events of the application and session objects must be declared in the Global.asa file. What kind of a file is Global.asa? What is the role of it? And how to use it? And listen to me
Binary system
Function Description: Upload picture files to the specified directory, in this file according to the URL incoming file name plus file directory based on the full path of the file. The file binary data stream is then written to the
Binary System | skills | data | database
Yesterday, an outdated friend gave, a station of all the files and pictures in a binary way into the database, with the following code can be used to restore the database files and pictures.Change the
Access|asp.net| program
Today I sent the good things to the client (she asked me to do something, called it). Results she used to configure the ASP program to configure the program, and then run, the results will not be able to pull ~ (see only
access|asp.net| Data | Database
The first time with others to do things, their own little experience, write down, although compared to vegetables, but still have to do some records, if there are errors, please enlighten me, thank you:Used to make
asp.net|js| Template
Template
It is often advantageous to separate the common parts of a Web page across multiple different pages, so that content reuse and no tagging duplication are possible. Application headers and footers are the best
Pagination | Experience
Read this some of the posts, learned a lot of things, and now share with you
Flash is now just a display function, the process of seeing some other people's things, feel that pagination seems to have a very simple way of
Interface
[request samples]
Username = request.cookies ("name")
Password = request.cookies ("Pass")
' You can insert user data queries here. and replace the following default password "admin"
If username = "" or password <> "admin" then
%>
Data | database
'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%' Database Operations class'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%' Name: class_dboperate' Version: 0.2' Author: qihangnet' Updated: June 14, 2005' Role: Streamline the process of database
Sort
One, show the record
Set Rs=server.createobject ("Adodb.recordset")Sql= "SELECT * from JFNEWSO where newsclass= ' theoretical dynamics ' and Classname= '" &session ("Fenlei") & "' ORDER by Displayorder des C,id DESC "Rs.Open sql,conn,1,1
Skill
One technique: improving the efficiency of using the request collection
Accessing an ASP collection to extract a value is a time-consuming process that takes up computational resources. Because this operation contains a series of searches
Iis
ASP scripts are widely used in current Web development, but IIS 6.0 in Windows 2003 does not support ASP scripts by default, but it can run ASPX programs, which is inconvenient for running and debugging ASP code. In fact, a slight adjustment in
window| Security | Hard drive C: Partition section:
C:\
Administrators All
Everyone without
System All
of course, this to the following directory is to be changed
C:\Windows
Administrators All
Creator owner
Not an inherited
. only
Asp.net| Program | download | page
In the production of the site often need to develop the function of downloading files, the following three ways to download the file:1, ASP implementation of the download codefilename = request.querystring
Download the following Save as: Download.htm
the following save as: Download.asp
Const forreading=1
Const tristatetrue=-1
Const file_transfer_size=16384
Response.Buffer = True
Function transferfile (path, mimetype, filename)
Dim
Dynamic | fault-tolerant | Web page with the most popular ASP as an example, I do not know how many people will be in the code to think of the "fault tolerance" concept, in fact, when I encountered such a thing, but also nothing. Why, think about
Compile | program using Netbox can easily compile ASP application into a stand-alone execution program, completely rid of the shackles of IIS, in almost all versions of Windows run directly above, there is no need to consider platform compatibility
sql| Backup | create
Overview
SQL Distributed Management Objects (SQL Distributed Management Objects, SQL-DMO) extend SQL Server functionality by providing developers with methods to perform common tasks in both program and scripting languages. This
Asp.net| Error | data | The following list provides the most common errors that students find in an experimental installation, and if you have a problem, look for a similar situation:
• Name or path of the incorrect MDB file--re-check the name and
Security below is an anti-injection code!
Hope can be helpful to the vast first-range!
Dim Getflag Rem (Submitted by way)
Dim errorsql Rem (illegal character)
Dim Requestkey Rem (submit data)
Dim fori Rem (circular marker)
Errorsql = "' ~;~and~ (~) ~
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.