01-30-07 12:28 PM
However when i use anonymous the httpcontext does not get set. It is the
httpcontext we use to get the security context of the current user accessing
the page, we would like to hard code that for our demo and not require a
login:
http://msdn2.microsoft.com/en-us/li...ntext.user.aspx
For example, if we were running a sharepoint site and wanted to autologin an
internet user to demo something that you have to be authenticated to
sharepoint as a particular user to do...
In this case the custom app is normally placed on an intranet and we use
integrated authentication, however in order to demo from the internet we
don't want to require a login prompt but still need there to be an
httpcontext in order for some of the functionality to work. Anonymous auth
leaves no httpcontext.
thanks!
"David Wang" wrote:
> If you want all web users to automatically login using an account,
> then you should configure IIS to use Anonymous authentication because
> that's exactly what it does.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> On Jan 29, 12:53 pm, Dan Brinkmann
> <DanBrinkm...@discussions.microsoft.com> wrote:
>
>
>
[ Post a follow-up to this message ]
|