Navigation: thinBasic Modules > CGI > CGI_StartSession |
|
Description
Starts a new CGI session.
Syntax
n = CGI_StartSession(nSecondsOfValidy)
Returns
Return a number.
Returns 0 if the function fails, otherwise the session ID.
Parameters
Name |
Type |
Optional |
Meaning |
nSecondsOfValidy |
Number |
No |
Specify the number of seconds before that the session expires, 0 means that session expires immediately. |
Remarks
Restrictions
See also
Examples
nSessionID = CGI_StartSession(0)
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |