Navigation: thinBasic Modules > CGI > CGI_GetCurrentGUID |
|
Description
Retrieves a Globally Unique Identifier, a unique 128-bit number that is produced by starting a new CGI session.
Syntax
s = CGI_GetCurrentGUID() AS STRING
Returns
Return a string value.
Returns the GUI string for the current session.
Parameters
Remarks
A GUID is created only if a new sessions is started.
See CGI_StartSession to see how to start a new session.
Restrictions
See also
CGI_GetCurrentSession, CGI_StartSession
Examples
DIM sGUID as String = CGI_GetCurrentGUID
If Len(sGUID) Then
Echo("The GUID for the current session is : " & sGUID)
Else
Echo("Sorry, the current session hasn't a GUID!")
End if
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |