Quick question about the line -
If Trim("" & Session("LogIn")) = "" Then Server.Transfer "login.asp"
Firstly my draconian version would have been -
If Session("LogIn")= "" then
what is the advantage of using
Trim("" & Session("LogIn")) = ""
Secondly what is your reason for using Server.Transfer instead of response.redirect?
Most of my coding is a mix of finger in air and example based learning so apologies for not understanding what i am sure is obvious.