Select to view content in your preferred language

PreAuthenticate map layer and task service requests

539
1
07-30-2012 11:47 AM
JayOckers
Deactivated User
Is there any way to pre-authenticate requests for map layers and task requests?  I'm using the generic handler proxy and fiddler is showing an authentication negotiation for each request from the Silverlight client to the web server. Some of my requests are relatively large due to complex and lengthy where clause statements and I'd like to remove these extra requests.

Cheers,
Jay
0 Kudos
1 Reply
DaveTimmins
Deactivated User
Hi,

have you tried setting the token value for the requests explicitly rather than the proxy getting it? As you can only generate the token for a fixed amount of time you may want to dynamically get a token at the start of the session and apply it to any layers / tasks that you're using rather than hard code it.

Cheers,
0 Kudos