CreateSession - cWebSessionManager

User hook to manage what to do when creating a new client/server session

Type: Function

Return Data Type: String

Parameters: String sRemoteAddress

ParameterDescription
sRemoteAddressThe IP address of the client


Return Value

The new session key.


Syntax
Function CreateSession String sRemoteAddress Returns String

Call: 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.