468,765 Members | 1,243 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

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

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 : )

Nov 9 '07 #1
4 811
however answers this wins 10 free internets

Nov 9 '07 #2
On Nov 9, 4:00 pm, anonymoushamster <anonymoushams...@gmail.com>
wrote:
however answers this wins 10 free internets
any suggestions? anyone?

Nov 9 '07 #3
wait longer than 67 minutes for an answer?

"anonymoushamster" <an**************@gmail.comwrote in message
news:11*********************@d55g2000hsg.googlegro ups.com...
On Nov 9, 4:00 pm, anonymoushamster <anonymoushams...@gmail.com>
wrote:
>however answers this wins 10 free internets

any suggestions? anyone?

Nov 9 '07 #4
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
Nov 9 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.