Hi all,
I am wanting to convert the following VB statements into their C#
equivalents.
Appreciated any help!!!
'variable declaration
Dim Session As System.Web.SessionState.HttpSessionState
If Not System.Web.HttpContext.Current.Session Is Nothing Then
'retrieve session object from page
Session = System.Web.HttpContext.Current.Session
End If
Cheers,
Adam
Mike - 29 Oct 2005 23:29 GMT
System.Web.SessionState.HttpSessionState session;
if(null != System.Web.HttpContext.Current.Session)
{
'retrieve session object from page
session = System.Web.HttpContext.Current.Session;
}
>Hi all,
>
[quoted text clipped - 14 lines]
>Cheers,
>Adam
Mark Rae - 29 Oct 2005 23:56 GMT
> 'retrieve session object from page
or rather...
//retrieve session object from page
:-)