I think the key is the following line in the web.config:
...
<system.webServer>
...
<modules>
<addname="ScriptModule"preCondition="integratedMode"type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
...</system.webServer>
this line is automatically added to the web.config when using the ajax templates.
the attributepreCondition="integratedMode" makes sure that the current authenticated user crendtials are used when calling a webservice via the scriptmodule.
No comments:
Post a Comment