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

  • Thread starter anonymoushamster
  • 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 : )
 
R

Roland Dick

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top