Hi,
I'm getting an error on my login page when using Javascript session
object. It works on the development server so I'm wondering if there is
a setting in IIS to allow using sessions on the server.
When the user clicks on the submit button after entering their username
and password, it calls a function (below) and I get an "Object expected"
javascript error.
This is the function:
function ftn_process()
{
var str_uid = document.login.str_uid.value;
var str_pswrd = document.login.str_pswrd.value;
if (str_uid != "" && str_pswrd != "")
{
Session("UserID") = ""
Session("Logged") = "";
Session("userLevel") = -1;
document.forms("login").submit();
}
}
I get the error at Session("UserID");
Does anybody have any ideas on this problem?
Yhanks
Rob
*** Sent via Developersdex http://www.developersdex.com ***