When a user logs in, I set a session with their user ID. If This person has never logged in, they do not have this session variable. Under normal circumstances, when I tried to evaluate it as: <BR><BR>If Session("UserID") = "" Then <BR>Response.Redirect("main.asp") <BR>End If <BR><BR>It would work fine. Now however, if this person never logged in I get the following error message when evaluating the above statement. <BR><BR>Microsoft VBScript runtime error &#039;800a005b&#039; <BR><BR>Object variable not set <BR><BR>/incs/forum.asp, line 5