0

Is there a way to build urls for an action in-lining the SessionID in ASP.NET MVC ?

I need to build urls that will be used by others clients apps which need to download some kind of data but identifying the original session and I would like to have a self-contained url to do that.

Luciano
  • 2,695
  • 6
  • 38
  • 53
  • Why not to use cookies for that purpose? – whyleee Dec 27 '12 at 16:41
  • Suppose that a javascript will deliver this url to a remote client, this remote client can be a robot, it isn't a browser in the same context where the url was got. Is preferable to have the SessionID just appended as a url parameter and the webservice would be the one who manually would find the session, but why don't we leave it to IIS and ASP.NET just building a self-contained url ? – Luciano Dec 27 '12 at 16:56

0 Answers0