1. Requirement Analysis
Through in-depth communication, the improvement requirements of the power plant for Enterprise Website user access control are confirmed. The general situation is as follows:
A) The website is implemented based on ASP.
Some people say that session. Timeout is set to 99999. This is also not possible, and the session has the maximum time limit. After testing, I found that the maximum value is 24 hours. That is to say, you can set the maximum value of session.
default. asp
CopyCode The Code is as follows:
Ajax-sample1
// be sure to encode this page as a UTF-8, otherwise, garbled characters will appear.
Ajax application instance: Registration Module
ID:
Password:
when a user with a
The EASP class provides a large number of practical ASP general processes and methods, which can simplify most ASP operations. Currently, only VBScript is available, and JScript may be available in the future.
Easyasp v1.5 (updated on)
New features:
1. Modify MD5
Algorithm This is the easiest way to remove the four constants. The feature is that the encrypted data is very similar to that before encryption, but will not be cracked.
2. perform multiple encryption to encrypt the MD5 encrypted
This software completes data input for thousands of products in one or two days. It can be seen that a lot of work is not done manually.
Program Personnel is to free up many people who often do repetitive and tedious work. Below are some core
The same applies to post requests. However, sometimes the format of post data may not be very standard (maybe, not too detailed), and data cannot be obtained on the server. Recently, I encountered such a problem that a data partner simulated post.
However, the problem is that the subjects of different departments are different. Therefore, when designing a database, we usually take the scores of students and certain subjects as a record, at this time, we need to perform a logic processing for
Method 1. Use the label,
Front-end:
CopyCode The Code is as follows: 'id =" tb_search "runat =" server "target =" _ blank "> pop-up
") '> displayed
Use the label and do not refresh the Home PageMethod 2. asp: hyperlink(1) Foreground: 'target =
Starting from ASP. NET 3.5, the. NET platform supports two serialization methods:
CopyCode The Code is as follows: 1. datacontractserializer
2. javascriptserializer
The former is mainly serialized Based on the Data contract (datacontract), through
Index. asp page
Code
Copy code The Code is as follows:
Set cmd = conn.exe cute ("select bigclassid, bigclassname from bigclass ")
Tempid = cmd ("bigclassid ")
%>
if not cmd. EOF then do while not cmd. EOF bigclassid = cmd ("bigclassid")
Used in a previous work, pasted
Code Only the relevant code is retained, and few codes are found.
Upload page html/JS
Copy code The Code is as follows:
Process File Upload C #Copy codeThe Code is as follows: if (context.
The Repeater control does not have a built-in rendering function, which means that you must provide a layout for the Repeater control by creating a template. When this page is running, the repeater control presents one item for each record in turn
Occasionally, due to Path Problems, I thought it was
Program An error occurred. The following is a technical article in my script house, which I will slightly modify for your reference.
For example, your project is webapplication1 (URL: http: //
CopyCode The Code is as follows: 'Determine whether to generate a new HTML
If application ("cache_asptohtml_date") = "" then
Application. Lock
Application ("cache_asptohtml_date") = now ()
Application. Unlock
Call asptohtml
Response. Redirect
Compared with Ajax, XMLHTTP on the server uses the XMLHTTPRequest object on the server. Although it is inconvenient to use asynchronous requests on the server side, it is no harm to learn it as a component that can send HTTP requests on the server
1. ClientIDModeRendering ASP. NET controls automatically generate an ID. When we reference them in client scripts, it creates a lot of trouble. Although it is a simple series of named containers and IDs, however, the range of IDS generated cannot be
Solution:
In the doscommand line status, Enter the following commands and press Enter:
Regsvr32 jscript. dll (command function: Fix Java Dynamic Link Library)Regsvr32 vbscript. dll (command function: Fix VB Dynamic Link Library)
If not, try the
Copy codeThe Code is as follows: the cookie Page code is recorded during login
// a 32-bit md5 encrypted file must be called. This file is everywhere and I will not provide it
Dim Username, Password, Question, Answer, Expires, Verify
Username =
///
/// Convert Chinese characters into the first letter in pinyin
///
///
///
Private string ChineseCap (string ChineseStr)
{
String Capstr = "";
Byte [] ZW = new byte [2];
Long ChineseStr_int;
String CharStr, ChinaStr = "";
For (int I = 0; I
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