G
Guest
Dear all
I have a strange behaviour using session.
ON my form load when the page is first display I create a session variable
to stor connection objects as follow :
If not IsPostBack then Then
Session.Add("DataLayer", Me.m_pCon)
else
Me.m_pCon.m_dbConnection = CType(Session("DataLayer"),
DbConParam).m_dbConnection
end if
Time to time it appears that the session object is not existing anymore,
then I retry 2 or 3 times and its again working
Any ideas why it occurs like this ?
regards
serge
I have a strange behaviour using session.
ON my form load when the page is first display I create a session variable
to stor connection objects as follow :
If not IsPostBack then Then
Session.Add("DataLayer", Me.m_pCon)
else
Me.m_pCon.m_dbConnection = CType(Session("DataLayer"),
DbConParam).m_dbConnection
end if
Time to time it appears that the session object is not existing anymore,
then I retry 2 or 3 times and its again working
Any ideas why it occurs like this ?
regards
serge