Session State Sharing Between ASP.Net & SharePoint Application
Hi, I have implemented form based authentication in the SharePoint application using the custom membership provider. I want to share Session state between the .net application (using for form based authentication) and SharePoint application. Please suggest the way. Thanks, Sourabh K
July 7th, 2010 11:55am

S, Not sure how much depth of session sharing is required here. There are multiple ways including dirty ones.. (1) Share info using common custom Database (2) Use FormAuthenticationTicket and use "UserData" property to store extra information - http://msdn.microsoft.com/en-us/library/system.web.security.formsauthenticationticket.aspx - ofcourse this link is just for FormAuthenticationTicket but - you owuld find enough help on "UserData" property on internet. (3) Use HTTPModule to trap the httpRequest and store the session data to common place - http://www.codeproject.com/KB/session/sharedsession.aspx Hope this helps ! Whizsid
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2010 7:38pm

whizsid: Please do not propose your own posts as answers. It isn't helpful. Propose the good answers of other people. Wait in turn for someone else to propose your posts. (Moderator)2010 Books: SPF 2010; SPS 2010; SPD 2010; InfoPath 2010; Workflow etc. 2007 Books: WSS 3.0; MOSS 2007; SPD 2007; InfoPath 2007; PerformancePoint; SSRS; Workflow Both lists also include books in French; German; Spanish with even more languages in the 2007 list.
July 8th, 2010 7:39am

Moderator, Thank you for pointing that out. I am glad that I came to know this before repeating that mistake for several times ! Whizsid PS: Proposal was for knowing if that helped - so that I do not have to keep following up the thread ! But figured, alerts will send me an email in case of further happenings on the posts.
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2010 8:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics