Web API Reference MapGuide Open Source
STRING MgSite::GetCurrentSession (  ) 

Gets the current session identifier.

.NET Syntax
string GetCurrentSession();
Java Syntax
String GetCurrentSession();
PHP Syntax
string GetCurrentSession();

Returns:
If a session repository has been created, it returns the unique session identifier, for example "71b5d990-0000-1000-8000-005056c00008_eng". If a session repository has not been created, it returns an empty string.
Exceptions:
[[To be documented]]
See also:
CreateSession

DestroySession


Comments or suggestions? Send us feedback.