Outline
Let's imagine that you've designed a successful site using Active Server Pages, and your customers have asked to internationalize this site to provide multiple language versions. What do you do at this time? Please read this
1. General method of calling stored procedures
Let's assume that there is a stored procedure dt_users in SQL Server:
CREATE PROCEDURE [dbo]. [Dt_users]
As
SELECT * from Users
Return
Go
The first approach is to not use the command object, directly
This article used not to use the Adodb.command command, but simply did a adodb.recordset to execute the stored procedure.
Stored procedures:
' Establish Dbo.tse stored procedures in SQL
CREATE PROCEDURE [dbo]. [TSE]
@keyword varchar (=null), '
The Active server Pager (Dynamic Servers home page, abbreviated as ASP) can easily implement page counter functionality by reading and writing server files, combining the script language (VBScript or JScript) and HTML code. Now popular ASP textbooks
1. oncontextmenu= "Window.event.returnvalue=false" will completely screen 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= ' return
Using Global.asa correctly is a common problem for ASP developers. The main thing is to know when to use virtual application, when to use virtual directory, and to know their differences.
Virtual directories (dummy directory)
In short, virtual
I think it is safe to have the user password encrypted (relative), isn't it?
Here is the MD5 encryption algorithm!
Private Const Bits_to_a_byte = 8
Private Const Bytes_to_a_word = 4
Private Const Bits_to_a_word = 32
Private M_lonbits (30)
Private
With the combination of XMLHTTP and ASP, we can easily complete the asynchronous invocation of the Web page.
The code is as follows:
1. New Display.asp (This is the foreground display page)
Note the 4 properties of the Xmlhttp.readystate
1:loading;2:
Active Server Page technology provides application developers with intuitive, fast-based scripting
Fast and efficient application development means, greatly improve the development of the effect. But because ASP foot
This is the use of clear text
20, using Activer Server Explorer can read and write access to the file
Vulnerability Description:
Chinaasp's Activer Server Explorer makes it easy to view local files online View the directory on the server online to see the file name, size,
Appendix C: Best Practices for network security
Steve riley,microsoft Communications Industry Solutions Group Consulting Practice
August 7, 2000
This essay discusses the best solution for network design and security. Although there are many ways to
Make a completely dynamic password, so that the same password produces different results
Password AAA After the first operation the result is:
Jlce1d65ec3b91556234879c9db8f6da1123
Second time:
Hjmnbe0d01cc1fbd3e18ae7431fa52fb3ce4
Third time:
Grttb059
Crawl Web pages. I want to implement thorough update weather forecast. The XMLHTTP component is used to crawl the specified portion of the page.
Need to split HTML source code
In this example, the crawled HTML source code is as follows
2004 Year
Frankly, I've never been very interested in ASP. If I were to write this server-side program,
I will choose JSP. So, I always want to get a cheap jsp space on the Internet; but just as Miles
The predecessors said, Liangui not a bit, let alone cheap.
Simple Introduction
ASP is so simple that many developers don't think about error handling, and handling errors correctly can make your application more reasonable. I've seen many commercial Web sites written in ASP, most of them ignoring error
But when you modify the database how to let application update, this article provides you with a reasonable solution,
If anyone has a better algorithm, please post a discussion, thank you
-->
Class wawa_app_getrows
Public Function wawa_get_list
ASP Programming Essentials ABC
Using Server.MapPath
Use Server.MapPath () as much as possible to represent files stored on the server, rather than static absolute paths. Because, if you take a static absolute path, when the Web path changes, it will
Translation is very lame, hope everyone understanding, hehe.
Scriptlets-A better way to organize your ASP code
Scripts and components written with Extensible Flag Language (XML) and. Xml are used to define objects, methods, properties, and so
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