Re[2]: Authentication sharing
От: Aikin Беларусь kavaleu.ru
Дата: 17.10.08 09:41
Оценка:
Здравствуйте, Овощ, Вы писали:

Спасибо. Сейчас как раз залез в MSDN по кукам:

You can also use the Domain property to create a cookie that can be shared among multiple subdomains, as shown in the following example:

Response.Cookies["domain"].Value = DateTime.Now.ToString();
Response.Cookies["domain"].Expires = DateTime.Now.AddDays(1);
Response.Cookies["domain"].Domain = "contoso.com";

The cookie will then be available to the primary domain as well as to sales.contoso.com and support.contoso.com domains.


Надо попробовать.

Один момент: можно ли из support.contoso.com выставить куку для contoso.com?

Иначе придеться все время логиниться из Директории. Что не так уж и плохо, но все же...
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.