Hello
Problem with your code is here.
Session("userna me") = rs("username") ;
Replace it with
Session("userna me") = rs("username"). Value;
The problem is that username is a Variant data type containing a reference to a Field object that rs("username") , not a string, as it appears to be. When the Recordset is closed, the Field...
Leave a comment: