authentication ticket

R

Roel

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
 
T

Teemu Keiski

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"
 
J

John Saunders

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

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top