What is a GUID? Excerpt from Wikipedia: "A globally unique identifier or GUID is a special type of identifier used in software applications to provide a reference number which is unique in any context (hence, "globally"), for example, in defining the internal reference for a type of access point in a software application, or for creating unique keys in a database. While each generated GUID is not guaranteed to be unique, the total number of unique keys (2128 or 3.4×1038) is so large that the probability of the same number being generated twice is extremely small."
GUIDs are useful in creating anti-CSRF tokens for web applications. Generate a True GUID Using ASP. Generate A GUID Using PHP.
From 'http://www.freevbcode.com/ShowCode.Asp?ID=2320
Function AlmostUniqueID()
dim iCtr, sChar, sID
Randomize
for iCtr = 1 to 10
sChar = Chr(Int((90 - 65 + 1) * Rnd) + 65)
sID = sID & sChar
Next
sID = sID & Month(Now) & Day(Now) & Year(Now) & Hour(Now) & Minute(Now) & Second(Now)
AlmostUniqueID = sID
End Function
Dim guid;
guid = AlmostUniqueID()
Date Validation Using JavaScript .
Cross-Browser Clipboard Copy .
Loading Images With Remote Scripting .
Why JavaScript In Hyperlinks Is Bad .
Change The Submit Button To Show Waiting For AJAX Response .
European Date Validation Using JavaScript .
Database Results To Client Side Array .
Reading Files With JavaScript .
AJAX For Plain Text And HTML .