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

Discussion in 'ASP .Net' started by David Hearn, Jul 16, 2004.

  1. David Hearn

    David Hearn Guest

    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!
    David Hearn, Jul 16, 2004
    #1
    1. Advertising

  2. "David Hearn" <> wrote in message
    news:...
    > 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)
    --
    John Saunders
    johnwsaundersiii at hotmail
    John Saunders, Jul 16, 2004
    #2
    1. Advertising

  3. David Hearn

    David Hearn Guest

    Thanks John!

    "John Saunders" <> wrote in message
    news:...
    > "David Hearn" <> wrote in message
    > news:...
    >> 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)
    > --
    > John Saunders
    > johnwsaundersiii at hotmail
    >
    >
    David Hearn, Jul 16, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John

    Bypassing authentication

    John, Apr 17, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    1,812
    Teemu Keiski
    Apr 18, 2006
  2. cgian31
    Replies:
    0
    Views:
    257
    cgian31
    Oct 20, 2005
  3. Steve Holden

    PyCon is Coming! PyCon is Coming!

    Steve Holden, Jan 5, 2006, in forum: Python
    Replies:
    0
    Views:
    298
    Steve Holden
    Jan 5, 2006
  4. Microsoft

    Bypassing authentication

    Microsoft, Aug 7, 2003, in forum: ASP .Net Security
    Replies:
    1
    Views:
    105
    Eric Newton
    Aug 15, 2003
  5. Eric
    Replies:
    2
    Views:
    462
Loading...

Share This Page