Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim sessionObj As Object = CType(Session("SessionKey"), Object)
- If sessionObj Is Nothing
- sessionObj = ReCreateObj()
- Session("SessionKey") = sessionObj
- End If
- object sessionObj = Session["SessionKey"] as object ;
- if(sessionObj == null)
- {
- sessionObj = ReCreateObj();
- Session["SessionKey"] = sessionObj;
- }
Add Comment
Please, Sign In to add comment