How to write excellent ASP applications (1)

How to create robust, accurate, maintainable, and performance-Good ASP applications? What do you want to do? Not doing what? In this paper, the main check-points (check point) is given in the form of outline.    What is an ASP    Active

ASP download the picture instance in the webpage

Web page | Download Function Replaceremoteurl (SHTML, Ssavefilepath, Sfileext) '// '//remote save Picture '///////////////////////////////////////////////////// ' role: Replace the remote file in the string with a local file and save the

Writing counters with ASP

Counter    Dim Fso,f,no,i ' Defining variables is definitely a good habit    Set fso = CreateObject ("Scripting.FileSystemObject") ' establishes an instance of an object    Set f = fso. OpenTextFile (Server.MapPath ("count.no"), 1, True) '

ASP Advanced Tutorial: Message query function (i)

Tutorial when one day, your mood suddenly become very bad, but coincidentally, in your guest book, your net friend left a very exciting words, so you quickly regained the happy mood. But after a while you're feeling bad again, but this time you're

Setting up directory Security with ASP and IIS

iis| Safety Introduction: I recently received a task to design a scheme to provide folder security access for Web sites. This is done with the idea that a user can go to the site and then automatically go to the default folder, which lists files

asp.net 2.0 optimized CSS with masterpage

asp.net|css|erp| optimization asp.net 2.0 adds built in MasterPage support, which is a great convenience for us.  However, after a period of use, I found that MasterPage is not so perfect: nested MasterPage cannot support the design-time interface,

A simple user login interface ASP implementation

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 %>

ASP Components Intermediate beginner and proficient series of five

Let's learn to look at the response object. In fact, we have been using the Write method of this object in previous tutorials. Here we use the Response object to set cookies. ? Open VB6 and create a new ActiveX DLL project. The project name

Visual editing of nested masterpage pages under ASP.net 2.0

Asp.net|erp believes that everyone has used the nested masterpage feature under ASP.net 2.0, which is powerful enough to allow users to create a template page, and then easily apply to other pages. and the stencil page can also be nested, but the

Asp. NET: Displaying Data using the DataView object

Asp.net| Object | data | Show in learning DataSet objects, we encounter a concept: DataView. This object represents a way to view the data tables in the dataset by default by arranging the data in tabular form, and the data is sorted according to

Common errors and solutions for debugging ASP programs under Windows 2003

iis

Window| Program | error | resolution Because of work, I often need to use ASP to develop a number of small programs, under Windows 2000 development and use of related programs generally do not have any problems, and it is easy to solve. But because

Use Python to implement a object-oriented ASP program.

Programs usually when we write ASP, usually with VBScript or JavaScript. JavaScript is the use of function to implement the class, very cumbersome, and the effect is unpleasant. VBScript can implement classes, but there are also significant

Security authentication and web.config configuration of asp.net

asp.net|web| Security (1) in Web.config configuration Modify options in The validation mode is set to form and the validation page is Do not allow anonymous users After add a page that does not validate to use the database to access the

Ways to send mail using smtpmail in asp.net

In ASP, you can send a simple message by calling the CDONTS component, which is natural in asp.net. The difference is that, in the. Net framework, this component is encapsulated into the System.Web.Mail namespace. A typical mail-sending program is

ASP no component upload Image source code

Upload | upload pictures | no components | source code Set conn=server.createobject ("Adodb.connection")Connstr= "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & Server.MapPath ("Db.mdb")Conn.Open

ASP implements a program that restricts IP access

Program | Access "Get the address of the visitor Ip=request.servervariables ("REMOTE_ADDR") ' The allowed IP address segment is 10.0.0.0~10.68.63.255 allowip1= "10.0.0.0" Allowip2= "10.68.10.71" Response.Write Checkip

How to use a disconnected recordset in ASP

Disconnect | recordset | Detailed in our database programming with ASP's built-in ADO components, typically, you open a connection at the beginning of the script and close it at the end of the script, but in most cases the connection is open more

asp.net to change the skin by switching CSS

Asp.net|css There are many ways to change skin, the simplest is usually to switch page CSS, and CSS is usually written in the external CSS file. Then switch CSS is actually the replacement HTML link href path. I searched the internet for the next.

ASP stores information in a database into an XML file

xml| Data | Database save. Asp ' Constants file included above. ' Delete if the file exists Dim objFSO Set objFSO = Server.CreateObject ("Scripting.FileSystemObject") If objfso.fileexists (Server.MapPath ("Db_xml.xml")) Then objFSO.DeleteFile

An ASP-consolidated SQL statement class

statement when we write ASP database programs, we usually use SQL statements, and when we add data and update the data, we usually use the way: INSERT into message (Incept,sender,title,content,sendtime, Flag,issend) VALUES (' "&incept (i) &", '

Total Pages: 1800 1 .... 603 604 605 606 607 .... 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.