Forum Discussion
Accessing Sharepoint Data through ASP.net service
Hi,
I wrote ASP. Net service which invokes REST API calls on our SharePoint server and gets the data.
This service is running on out of our company network.
Currently it is implemented as same as browser access our SharePoint server.
I'm able to get data through making http calls by passing credentials.
But instead of authentication each time I'm storing "MRHSession" key in web context and next subsequent REST API calls I'm passing to the cookie to get the data, as browser does.
But here I'm not getting null data and I get response code as OK.
The only difference I sees from the browser is, the "MRHSession" ID is getting updated when it POST the credentials... But in my services program this is not getting updated.
Please let me know If you want code snippet to understand what exactly I'm doing..
Thanks in advance...
Regards, Shyam
1 Reply
- Lucas_Thompson_Historic F5 Account
APM rotates the (first part of the) session cookie after successful logon in order to make hijacking tougher for attackers. You can disable this behavior if you like by setting the "apm.rotatesessionid" to "false". No restarts are required after this modification.
See this SOL for a bit more information:
https://support.f5.com/kb/en-us/solutions/public/15000/000/sol15077.html
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com