FormatFileDataURL Method

Syntax

Context.Session.FormatFileDataURL as C (Key as C)

Arguments

C

Return type

Key as C

The key of the file in the session-state collection. The value of key is a file name without any path components.

Description

Returns a URL suitable for a browser to retrieve a session file.

Discussion

Context.Session.FormatFileDataURL() returns a URL suitable for a browser to retrieve a session file. No assumptions should be made about the construction of this URL. Check Context.Session.CallResult.Success before using the return value.