Type: Stored procedure

Sets the specified session variable when called from a snippet procedure. The name of the session variable must be declared for the site.

It is not allowed to set the same variable multiple times during a page load. To avoid this, you can call this procedure from an Access Control procedure to initialize variables such as SessionId that are used by multiple snippets.


EXEC SoftadminSnippet.Session_SetVariable
	@Name = 'MyVariable',
	@Value = N'Value';


@Name mandatory varchar
@Value mandatory nvarchar