G
graphicsxp
Hi,
I'm trying to figure out the best way to redirect the user to a special
page when in my code i'm trying to use a Session object and that one is
nothing. Oviously I could do:
if Session("myObject") is nothing then
response.redirect("SessionExpired.aspx")
else
endif
but i'm not going to do that for each time i want to use a session
object.
Can someone think of a clever way?
Thank you
I'm trying to figure out the best way to redirect the user to a special
page when in my code i'm trying to use a Session object and that one is
nothing. Oviously I could do:
if Session("myObject") is nothing then
response.redirect("SessionExpired.aspx")
else
endif
but i'm not going to do that for each time i want to use a session
object.
Can someone think of a clever way?
Thank you