Remberme. asp
'User submits personal information.
%
Response. Cookies ("information ")("Name") = Request. form (" name ")
Response. Cookies ("information ")("Customer ID") = Request. form (" id ")
Response. Cookies ("information ")("From") =
Id = Request ("id ")
Newpassword = Request ("password ")
Newpasswordtemp = Request ("passwordtemp ")
If newpassword <> newpasswordtemp Then
Response. Write "Sorry,The password is not confirmed.,Enter again! "
Response. End
End If
Set conn =
How can we prevent cheating Counters by refreshing them?
If IsEmpty (Session ("Connected") ThenApplication. LockApplication ("counter") = Application ("counter") + 1Application. UnLockEnd IfSession ("Connected") = True%>Shanshui Yingying refuse to
Dim varInitial_TimeVarInitial_Time = TimerResponse. Write "Initial_Time = [" & varInitial_Time & "] "%>For I = 1 to 10Response. write"Dancing with the wind(Www.intels.net)Welcome to the personal website of fashion Consulting! "& I &" "Next%>
Random display of qihua flying Information
Randomize
Randomnum = int (rnd * 6) + 1
'Number of random occurrences.
Select CASE randomnum
CASE 1%>
My favorite Press: China Water Conservancy and hydropower Press
My most visited website --
Response. buffer = true
'Application Cache Technology.
Dim lostnum
'PreventDmaxToo largeDstepToo small.
Dim shownum
Delayshow (dstep, dmax)
Sub delayshow (dstep, dmax)
'DmaxIndicates the number of requests to be processed.Dmax (Step)To complete the
When writing an ASP program, VBScript is usually used. However, you can also use JScript instead of this option. However, when JScript is used as the ASP language, it is slightly inconvenient than VBScript, for example, the GetRows method of
Copy codeThe Code is as follows:(? : Pattern) matches pattern but does not get the matching result. That is to say, this is a non-get match and is not stored for future use. This is useful when you use the "or" character (|) to combine each part of
Recently, I took the time to change to SyntaxHighlighter. Because the label at the beginning of the coolcode plug-in isOr [coolcode], and SyntaxHighlighter is[Code lang = "php"]This (or other ). You can only convert the old format into a new one. Of
Match Method Use the regular expression mode to perform a query on the string and return the result containing the query as an array.StringObj. match (rgExp)ParametersStringObjRequired. String object or String text to search.RgExpRequired. It is a
The regular expression (regular expression abbr. regex) is powerful and can be used to find the required information in a large string of characters. It uses regular character structure expressions. Unfortunately, simple regular expressions are far
(1) OnKeyPress event verification is used to verify input operations Copy codeThe Code is as follows:Function OnKeyPressValidate (obj, event, len ){Var e = window. event | event;Var key = e. keyCode? E. keyCode: e. which;Var selectedText = "";If
------------- JS -----------------Copy codeThe Code is as follows: ---------- Form ------------------------Copy codeThe Code is as follows: s ----------- Regular expression s ----------------------------Copy codeThe Code is as follows:Replace (/. * \
Check whether it is composed of digitsCopy codeThe Code is as follows:Function isDigit (s){Var patrn =/^ [0-9] {1, 20} $ /;If (! Patrn.exe c (s) return falseReturn true} Verification Login Name: You can only enter 5-20 strings that start with a
The regular expression function is too powerful ~ The following is an introduction to the basic syntax of Regular Expressions:First, let's look at two special symbols '^' and '$ '. They indicate the start and end of a string respectively. Example:"^
The regular expression is a regular expression. It seems that English is better understood than Chinese, that is, checking expression charactersNot compliant !! Regular expressions have a very powerful and complex object RegExp. In JavaScript1.2.Let'
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