Web API Reference MapGuide Open Source
void MgSite::DestroySession ( CREFSTRING  session  ) 

Destroys the specified session and discards any resources stored in the session repository.

.NET Syntax
void DestroySession(string session);
Java Syntax
void DestroySession(String session);
PHP Syntax
void DestroySession(string session);

Parameters:
session (String/string) Identifier returned from CreateSession.
Returns:
Returns nothing.
Example (PHP)
 $site->DestroySession($site->GetCurrentSession());

Exceptions:
[[To be documented]]
See also:
CreateSession

GetCurrentSession


Comments or suggestions? Send us feedback.