ASP built-in Object Request and Respones

Basic Asp object Asp (Active Server Page) is an object-oriented programming language similar to VB. Here, we do not want to detail some basic concepts such as objects, but directly introduce their language features, so that developers can skillfully

20 practical examples of ASP programming (1)

1. How to use Asp to determine the virtual physical path of your website A: Use the Mappath method. The Physical path to this virtual website is: 2. How can I know the browser used by the user? A: Use the Request object method. StrBrowser =

Solve the Special Character Problem in asp db query execution

When you query a database, you will often encounter this situation: For example, you want to query the user name and password in a user database, but the user name and password exactly contain special characters, such as single quotes, "|, double

Overview of ASP judgment functions and common website creation Technologies (1)

IsArray Function ReturnBoolean indicates whether a variable is an array. SyntaxIsArray (varname)The varname parameter can be any variable. DescriptionIf the variable is an array, the IsArray function returns True; otherwise, the function returns

Common File processing functions in ASP

Custom functions commonly used for processing file uploads and deletions in ASP:'''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''All custom VBS Functions'''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''

ASP design FAQs-1

1. Question: Is ASP a programming language?A: ASP is not a programming language, but a development environment. ASP provides an environment for executing commands on the server. It uses special symbols ) to distinguish between HTML and commands that

Basic Methods for pagination of posts in ASP (1)

After learning about the above attributes and methods of the Recordset object, let's take a look at how to use them to achieve our paging display purpose. First, we can set a value for the PageSize attribute to specify the number of rows that

ASP programming URL

This article provides some learning and code download URLs for ASP programmers. ASP cool technical network: http://www.aspcool.com ASP/ASP.net Pacific College: http://www.pconline.com.cn/pcedu/empolder/wz/asp/index.html ASP dynamic network pioneer:

ASP excellent questions and answers (1)

1. How to minimize, maximize, and close the window Answer: 2. Static Page Cache A: htm webpageOr Asp Web PageResponse. expires =-1Response. expiresabsolute = now ()-1Response. cachecontrol = "no-cache"Php webpageHeader ("expires: mon, 26jul199705:

ASP excellent questions and answers (3)

1. Prevent users from accessing the page directly. Prevent Self-made forms from being submitted and directly accessing the page through links)Function checkPrePage ()Url = request. ServerVariables ("HTTP_REFERER ")Url = trim (replace (url, "http ://"

Call ASP without refreshing a new page

If RS technology is used in the design of a website, it will play a lot of role, especially its biggest advantage. You can call the server code without refreshing the new page ). It is precisely because of this that you can process the database data

ASP reversible Algorithm

Unction encrypt (ecode)Dim textsDim I For I = 1 to len (ecode)Texts = texts & chr (asc (mid (ecode, I, 1) + I)NextEncrypt = textsEnd functionFunction decrypt (dcode)Dim textsDim IFor I = 1 to len (dcode)Texts = texts & chr (asc (mid (dcode, I, 1)-I)

Use simple Java classes in ASP

Method 1: register the Java class as an ActiveX component Step 1:Create a Java class named Test. javaPublic class Test{Public String getWord (){Return "Hello World ";}} Step 2:Compile it into a class file, copy it to the System Disk: \ WINNT \

Use ASP. NET to display online login users and locations

I. Principles The Application_AuthenticateRequest event and Application_BeginRequest event in global. asax in. net are triggered every time the aspx file is accessed. However, in Application_BeginRequest, ticket tickets with FROMS authentication

7 tips for designing ASP. NET Applications

1 .~ UsageIn general, we use. /.. /This relative path is used to determine and plan our resources (such as slice and resource files). However, in this way, errors may occur when we deploy the application. if an image is included in the ascx control

ASP. NET verification controls

Now ASP., programmers can focus on the design of the main program. ASP. NET has six public verification controls: Widget name Function DescriptionRequiredFieldValidator is required for field verification) used to check whether input values

New Realm of ASP. NET 2.0 refreshing pages

"No refreshing page" is just an inaccurate effect description, but there are other methods to achieve this effect). To be more precise, call a method on the server using JavaScript on the page, then process the returned data. The most standard

ASP. NET development: Add attributes to user controls

In WEB development, some code is often repeated in many places, such as the navigation bar, user logon/registration, and some fixed topics on the home page. These reusable codes can be written as a common module for reference. This saves development

Call the method with parameters using the encapsulation class

(1). DescriptionBecause the thread can only execute non-parameter methods, sometimes the thread needs to execute "with parameter methods"This example shows how to use the encapsulation class to implement "thread call with parameter method"(2).

Code hiding and compilation in ASP. NET 2.0 (1)

Code hidingAlthough the hidden model of the Code is different in 2.0, its syntax has been slightly changed. In fact, this change is very subtle. If you do not check it carefully, you cannot even notice it. Figure 1 shows the new Code hiding syntax.

Total Pages: 1075 1 .... 775 776 777 778 779 .... 1075 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.