Two methods of using ASP to realize Web page Secrecy-asp Vulnerability set

Web There is a real problem in maintaining the company's internal Web site--mis Supervisor requests that some technical documents be placed on the Web page, and can only be browsed by MIS employees. This involves the question of how to keep a Web

ASP functional Library (1)

function ' Determines whether the filename is legal Function isfilename (afilename) Dim serrorstr,inamelength,i isfilename=true Serrorstr=array ("/", "\", ":", "*", "?", "" "", " Inamelength=len (afilename) If inamelength Isfilename=false

ASP Functional Library (4)

Function    IsDate ()    FUNCTION: Determining whether an object is a date, returning a Boolean value    syntax:isdate (expression) & nbsp;  Arguments:expression is any valid expression.    EXAMPLE:   strtest = "8/4/99"   response.write

asp.net with JS to display record information on the layer

asp.net|js| Display js file (named Function.js here) function Mm_reloadpage (init) {//reloads the window if Nav4 resized if (init==true) with (navigator) {if (appname== "Netscape") (parseint (appversion) ==4)) { document. Mm_pgw=innerwidth;

Change the disaster that MDB brings to ASP

may be with the development of network security technology, the quality of administrators are improving, in the use of access+asp system, for the database was downloaded, to the MDB to ASP or ASA. Do not say directly to change the suffix, directly

Several methods of connecting MSSQL in ASP

Sql Method One: Dim connSet Conn=server.createobject ("Adodb.connection")Conn.Open "Provider=sqloledb;data source=db.janusgroup.cn; uid=web286418; PWD=J2Z0H1V2;DATABASE=WWW_JANUSGROUP_CN "Set conn = Server.CreateObject ("ADODB. Connection ")dsntemp=

ASP no component File upload instance

Upload | No component 1. library file (upload.inc.asp) Dim Oupfilestream Class Upfile_class Dim Form,file,version,err Private Sub Class_InitializeVersion = "No component upload class Version V1.0"ERR =-1End Sub Private Sub Class_Terminate' Erase

Random Picture Display ASP code

Random | show '---------------------------------------------------------------------------------------- ' When forwarding, please keep this declaration information, this statement does not affect your display speed! ' *************************

Easily implement page limit access in ASP

Visit | page when you design a Web page, you often encounter certain pages with restricted access. For example, some products of a company are only allowed to be browsed by one or some suppliers or customers. So how do we achieve this? In this paper,

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 SMS Send Program

Program Send Short Message var temp= ""; function Check () { if (Temp==form1.message.value) { Alert ("You cannot enter a duplicate statement"); Temp=form1.message.value; return false; } Else { Temp=form1.message.value; return true; } }

Application of cache technology in ASP

Cache ASP from the release has been 7 years, the use of ASP technology has been quite mature, since the Microsoft launched the ASP.net after the gradual cessation of the ASP version of the update. But because a lot of people are still used to using

ASP function Encyclopedia

function Abs (number) Returns the absolute value. Array (arglist) Creates an array. ASC (String) Returns the ANSI code for the first character of a string. ATN (number) Returns the inverse chord value. CBool (expression) Converts to a

Advanced usage for ASP JPEG image processing

The advanced AspJpeg is a very powerful picture processing component, the pure English version. However, there has been a free version and cracked version, but the detailed and in-depth introduction of the article is not much, even if there is only

teach you to use ASP.net to generate static pages

asp.net| Static Environment: Microsoft. NET Framework SDK v1.1 os:windows Server 2003 Chinese version asp.net generate static HTML pages to generate static pages used in ASP FileSystemObject objects! In. NET involves this kind of operation is System.

On the experience of date conversion in asp.net

Asp.net| Date | experience | Conversion date to a string is almost always the work of every project, no matter what development tool you use. Using convert or cast in SQL Server makes it easy to convert dates into strings of various formats, in

Tip: The paging code in ASP that can hold parameter values

Pagination | tips "Call Example' Dim Int_rpp,int_start,int_shownumberlink_,str_nonlinkcolor_,tof_,top10_,top1_,ton1_,ton10_,tol_,showmorepagego _type_,cpageno' int_rpp=2 ' Sets the number of display per pageNumber of ' int_shownumberlink_=8 '

Several useful functions about character encoding conversion in ASP

Coding | functions | converting 1. ' UTF to GB---convert UTF8 encoded text to GB encoded textfunction UTF2GB (UTFSTR) For Dig=1 to Len (UTFSTR)' If the UTF8 encoded text starts with a%, it convertsIf mid (utfstr,dig,1) = "%" Then' UTF8 encoded text

Learn about ASP useful text box filter functions

function | text box Function Requesttext (Textstring,texttype,textname,textnumbermost,textnumberleast)' TextString gets the value in the text box' Texttype set the type of text box name, such as input for 0,textarea 1' Textname the name displayed

ASP-implemented Calendar code instance program

program | Calendar ' The following is the specific code implemented by this calendar algorithm in ASP ' First decide whether to specify a year and month, no to display according to the current year and month If Request ("reqdate") = ""

Total Pages: 1800 1 .... 335 336 337 338 339 .... 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.