Your advice please. I am using the membership system. Works well. However I want to log someone in

  • Thread starter Thread starter anonymoushamster
  • Start date Start date
A

anonymoushamster

I am using the built in membership system and its great.

However I need users to be able to login via another page , and for
the session to be initialised for a user ( basically so they dont have
to log in again).

I sthere anyway I can do this? anyway ? So if I have a username,
password I can log them in automatically? via a cookie or something
else?


Any help greatly appreciated as I dont want to have to write my own
memebrship system. Thanks dudes : )
 
Hi anonymoushamster,

there is the membership API which helps you out with methods like
MembershipProvider.ValidateUser and FormsAuthentication.SetAuthCookie.

What I'm thinking about is passing the username and (possibly hashed)
password to your site via Querystring, then you either use
MembershipProvider.ValidateUser (if the password you get from the other
site is not encrypted/hashed) or you write your own validation logic,
and if authentication was successful, you set the cookie via SetAuthCookie.

Hope this helps,
if so, please send me my free 10 internets via mail :)

Roland
 
Back
Top