CreateSession - cWebSessionManager
User hook to manage what to do when creating a new client/server session
Type: Function
Return Data Type: String
Parameters
| Parameter | Type | Description |
|---|---|---|
| sRemoteAddress | String | The IP address of the client |
Syntax
Function CreateSession String sRemoteAddress Returns String
Call Example
Get CreateSession sRemoteAddress to StringVariable
Description
User hook to manage what to do when creating a new client/server session.
Called automatically during cWebApp and the session key is passed back to the client.
By default, the system will create a globally unique identifier GUID as a new session key.
Note that when testing on your localhost, you'll see "::1" in sRemoteAddress, which basically means localhost.
Return Value
The new session key.