<%
'just to make sure default the session to nothing
session("UserName") =""
'only set the user info if the form is submitted
if request.form("UserName")<>"" then
UserName = request.form("UserName")
Password = request.form("Password")
session("UserName") = UserName
end if
%>