G
Guest
I want to bypass requiring the intranet domain user to type in a username and
password when coming to my website, even the very first time.
If it's the first time I do a Membership.CreatUser passing the username,
gotten from ServerVariables("LOGON_USER"), a constant password (all users
have the same password), and an email address built with the username and a
constant domain name from the intranet.
However, things like User.Identity.Name are still blank.
How do I programmatically login a user so that everything acts just like
when the user enters his username and password on a 'Login.aspx' page?
password when coming to my website, even the very first time.
If it's the first time I do a Membership.CreatUser passing the username,
gotten from ServerVariables("LOGON_USER"), a constant password (all users
have the same password), and an email address built with the username and a
constant domain name from the intranet.
However, things like User.Identity.Name are still blank.
How do I programmatically login a user so that everything acts just like
when the user enters his username and password on a 'Login.aspx' page?