DeleteSessionFile Method
Syntax
Context.Session.DeleteSessionFile as L (Key as C)
Arguments
- L
Return type
- Key as C
The key of the data in the session-state collection. The value of key is a file name without any path components.
Description
Deletes the value session-state key from the session-state collection under IIS.
Discussion
Context.Session.DeleteSessionFile() deletes the value session-state key from the session-state collection under IIS. Under the stand-alone application server, the session file in the stand-alone application server's session folder is deleted. Check Context.Session.CallResult.Success before using the return value.