CreateNewStoreData Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
This method creates a new SessionStateStoreData object for the current request.

Namespace: MySql.Web.SessionState
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.8.4.0

Syntax

C#
public override SessionStateStoreData CreateNewStoreData(
	HttpContext context,
	int timeout
)
Visual Basic
Public Overrides Function CreateNewStoreData ( _
	context As HttpContext, _
	timeout As Integer _
) As SessionStateStoreData
Visual C++
public:
virtual SessionStateStoreData^ CreateNewStoreData(
	HttpContext^ context, 
	int timeout
) override

Parameters

context
Type: System.Web..::..HttpContext
The HttpContext object for the current request.
timeout
Type: System..::..Int32
The timeout value (in minutes) for the SessionStateStoreData object that is created.

See Also