authentication ticket

Discussion in 'ASP .Net' started by Roel, Jul 19, 2004.

  1. Roel

    Roel Guest

    Hi

    Is it possible to share an authentication ticket across multiple websites
    (on the same server) ?

    Detailed:

    I create a ticket in webapplication1. The user can click a link on
    webapplication1, to access webapplication2. In webapplication2, I want to
    use the ticket I created in webapplication1.

    Kind regards

    Roel
     
    Roel, Jul 19, 2004
    #1
    1. Advertising

  2. Roel

    Teemu Keiski Guest

    Hi,

    basically yes if they are under the same domain (Forms cookie name and path
    are the same). Forms Authentication Cookie is normal cookie in that sense
    that it has limitations to where it is sent by the browser (by default it is
    sent to all pages on the same app e.g the same main domain)

    See this on MSDN
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetch08.asp

    (Building Secure ASP.NET Applications: Authentication, Authorization, and
    Secure Communication)

    and there:

    "Hosting Multiple Applications Using Forms Authentication"

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist
    http://blogs.aspadvice.com/joteke



    "Roel" <> wrote in message
    news:...
    > Hi
    >
    > Is it possible to share an authentication ticket across multiple websites
    > (on the same server) ?
    >
    > Detailed:
    >
    > I create a ticket in webapplication1. The user can click a link on
    > webapplication1, to access webapplication2. In webapplication2, I want to
    > use the ticket I created in webapplication1.
    >
    > Kind regards
    >
    > Roel
    >
    >
     
    Teemu Keiski, Jul 19, 2004
    #2
    1. Advertising

  3. "Roel" <> wrote in message
    news:...
    > Hi
    >
    > Is it possible to share an authentication ticket across multiple websites
    > (on the same server) ?
    >
    > Detailed:
    >
    > I create a ticket in webapplication1. The user can click a link on
    > webapplication1, to access webapplication2. In webapplication2, I want to
    > use the ticket I created in webapplication1.


    Yes. See 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 19, 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. e
    Replies:
    1
    Views:
    3,582
    John Saunders
    Oct 24, 2003
  2. =?Utf-8?B?QmlsbCBCb3Jn?=

    Error decrypting authentication ticket

    =?Utf-8?B?QmlsbCBCb3Jn?=, Oct 11, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    398
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Oct 11, 2004
  3. Sean Patterson

    Authentication Ticket not storing UserData

    Sean Patterson, Jan 25, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    629
    Sean Patterson
    Jan 25, 2005
  4. Lauchlan M
    Replies:
    0
    Views:
    226
    Lauchlan M
    Oct 1, 2003
  5. jfer
    Replies:
    3
    Views:
    558
    Dominick Baier [DevelopMentor]
    Sep 16, 2005
Loading...

Share This Page