Thankyou in advanced
you need to set the cookie yourself.
So don't call RedirectFromLoginPage but use the SetAuthCookie method.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"aporter" <apo...@discussions.microsoft.com> wrote in message
news:40DFA20B-5C53-4397...@microsoft.com...
Sorry I am not sure how you can set the cookie domain within the
SetAuthCookie() method as it only asks for a ticket, set aspnet cookie and
persist cookie.
Do you know of any examples on the web that I could look at
Cheers
there is also a parameter "cookiePath" which should be what you are looking
for.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"aporter" <apo...@discussions.microsoft.com> wrote in message
news:B9B23A75-E39D-4675...@microsoft.com...
just saw that this only allows to set the relative path.
Ok, then you need to request the cookie using
CmsFormsAuthentication.GetAuthCookie. This allows you to use normal ASP.NET
methods to set the cookie - including the domain.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Stefan [MSFT]" <ste...@online.microsoft.com> wrote in message
news:%23S5354D...@TK2MSFTNGP03.phx.gbl...
Thanks for the update. I still cannot get the cookie to change the domain.
If you look at the cookie information within firefox it shows the host and
not the domain i.e. host reads mysite.local where I want the cookie to have a
domain setting of local. What setting can i put in the cookie path to get
the domain and not the host
see my parallel response.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"aporter" <apo...@discussions.microsoft.com> wrote in message
news:535EF59F-C638-4245...@microsoft.com...
<authentication mode="Forms">
<forms domain=".yourdomain.com" />
<authentication/>