GUIDs are useful in creating anti-CSRF tokens for web applications.
Generate A GUID Using PHP A Pseudo Unique ID Using ASP
Function getGUID
Dim TypeLib, tg
On Error Resume Next
Set TypeLib = Server.CreateObject("Scriptlet.TypeLib")
If Err Then
Response.Write "GP ERROR 1"
Response.Write err.number & " " & err.description & " " & err.source
Response.End
Else
tg = TypeLib.Guid
getGUID = CStr(Left(tg, Len(tg)-2))
Set TypeLib = Nothing
End If
On Error Goto 0
End Function
Simple Use: Response.Write getGUID
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 .