servervariables

Read about servervariables, The latest news, videos, and discussion topics about servervariables from alibabacloud.com

Display or jump to a regional station based on the visitor's IP

Based on IP to judge, will automatically jump to the visitor's IP according to the location of the city's local substationThe reference code is as follows: Function lookaddress (SIP)Dim str1, str2, STR3, STR4Dim numDim IRSIf IsNumeric (Left (SIP, 2)

Use Asp+sql server to build a firewall for Web pages

The main purpose of setting up a firewall for a Web page is to provide different services to different visitors based on the content of the Web page, which we can easily do with Java script or VB script. But the source of the Web page in the client

20 very useful examples in ASP programming

1. How to use ASP to determine the virtual physical path of your website Answer: Using the MapPath method < p align="center" >< font size="4" face="Arial" >< b > The Physical path to this virtual website is: < /b >< /font > < font color="#FF0000"

Some of the previously collected information---how to prevent the individual from browsing a particular chapter in the structure

Restrict users from using "Show in New Window" Jump out of your structure (MSDN) If a website is designed as a structure, it means that you don't want others Jump out of this structure and display a single frame in the browser. However, in NC One

ASP Unlimited Class classification

A relatively simple page, similar to the CSDN forum on the left of the NS list Description: 1. Data name: Tree.mdb table name: Tree table structure: ID (self-edited) PID (digital) content (text) link (text) 2. Pictures: Endnode.gif

A global IP address search program written in pure ASP (VBscript)

IP Address |vbscript| Program " untitled document Dim finishgetip,showip,allip ''//////////////////////////////////////////////////////////////////////////////////////// "The procedure is not very concise, and later modified ' The database used

Flash Dynamic Resolution Web application Server path

web| Program | dynamic | Server with the increasing popularity of flash, flash in the web development above but the performance, since it is web-site, it is certainly inseparable from the basic HTML page, The following is my usual in the production

Exception class exception

Exception class Exception: Class ExceptionPrivate IwindowPrivate ITargetPrivate ItimeoutPrivate ImodePrivate IMessagePrivate IhaserrorPrivate Iredirect Public Property Let Window (ByVal Value)Iwindow = ValueEnd PropertyPublic Property Get Window

Useful examples of ASP programming (i)

1. How to use ASP to determine the virtual physical path of your websiteAnswer: Using the MapPath methodThe physical path to this virtual website is: 2. How do I know the browser used by the user?Answer: Use the Request object

Tip: How to get the client MAC address in ASP

Tips | Client This procedure belongs to a special method. The scope of use is relatively limited, and there is a certain risk. Borrowed from the ASP in the back door of some methods. The following is the program code. Dim remoteaddr if

Read data sent through a form

Learning ASP, the most important thing is to master the ASP built-in six large objects. In fact, in the last lecture, we have already learned about the response object (yes?). There's no mistake! ), and the most commonly used write method, redirect

Let the site Live (2)

Text counter function: All IP addresses that have visited this page Implementation method: The IP address that has visited this webpage is stored in the count.asp, every once in a while, check, login to this site IP address, if not in the count.asp,

Various run-time errors

Error The earlier part of this chapter shows some of the issues, including how errors occur, how to find errors, how to handle errors, and so on. It is more important now to master the different kinds of errors that can occur and how to distinguish

ASP to achieve a simple web protection function

Web page ASP to achieve a simple web protection function (turn) When it comes to security, you'll be tempted to think of a professional security software like a firewall, hard to have software to achieve the goal of security protection? No, here

ServerVariables to path operations in ASP

Some days before the server sent a number of posts, want to ask about the path of the problem, but also has not replied. In fact, my concept of the path has been relatively vague, and then also introduced the ServerVariables data collection, so that

ASP get the current page with parameters of the address (URL) method

ASP get the current page with parameters of the address (URL) method The following is a reference fragment:' ===========================================' Get the function of the current URL parameterFunction GetUrl ()Dim Scriptaddress,

asp.net site home page based on IP automatic jump to specify the sample pages

  The program introduced in this article mainly realizes the function of automatically jumping to the specified page according to the IP address or address segment or the city where the IP is located, and the friends who need it can refer to the

JavaScript (ie shortcut operation), ASP tips

Skill 1. Oncontextmenu= "Window.event.returnvalue=false" will completely mask the right mouse button no available for table 2. deselect, prevent copying 3. onpaste= "return false" is not allowed to paste 4. oncopy= ' return false; ' oncut= '

How to detect errors in your own site (allow administrators to sleep)

Error | Admin Below is based on Wrox Professional ASP 3.0 to establish the site error checking mechanism, after use, you can find a lot of their mistakes, save a lot of code testing time, why not! First set up the table: CREATE TABLE [dbo].

ASP Web page Anti-SQL injection code

Recently, the author of the station suffered to SQL intrusion, so the Internet search some related methods to prevent SQL injection. A lot of versions, some people think that this section is good, some people think that the paragraph just, so the

Total Pages: 18 1 .... 14 15 16 17 18 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.