Bypassing forms authentication for one site if coming from another. How?

D

David Hearn

I have two websites that both use Forms authentication. Each site has a
login.aspx and use the same database to check usernames and passwords. There
is a link on Website A to get to Website B. The user can only get to this
link if they are already logged in to Website A so when they click on the
link to get to Website B, I don't want them to have to log in again.
However, if the user was to go straight to Website B by typing it's URL into
the browser or by any other means, they have to login. Is this possible and
how would I accomplish it if so?

Thanks in advance!
 
J

John Saunders

David Hearn said:
I have two websites that both use Forms authentication. Each site has a
login.aspx and use the same database to check usernames and passwords. There
is a link on Website A to get to Website B. The user can only get to this
link if they are already logged in to Website A so when they click on the
link to get to Website B, I don't want them to have to log in again.
However, if the user was to go straight to Website B by typing it's URL into
the browser or by any other means, they have to login. Is this possible and
how would I accomplish it if so?

See the following: Forms Authentication Across Applications
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/ht
ml/cpconformsauthenticationacrossapplications.asp)
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top