I am trying to help a friend - they have a rather large web application (ASP.NET 4.0, Visual Basic) in which there are several subfolders that all act as quasi-sub-applications (but they are just subfolders of the main application). This application will be divided into several independent web applications, because in its current form it is difficult to maintain and develop further.
The problem is that the current monolithic application uses several session variables for things like user information (after logging in, etc.). I wonder if there is an easy way to safely transfer this information among future multiple web applications (which will obviously be independent sessions). Session state is stored in SQL Server. The users of the current web application are all external users, and not all users have access to all “sub-applications”.
I am looking for some tips about these two things:
1. I already did a search and found a one-time registration - this seems to solve the authentication problem in these applications, but I am not familiar with it, and I do not understand how the authentication information is deleted if the "session" expires, since various web applications will have different sessions. Is it possible to withdraw a user from all web applications after a session in one of them?
2. I suspect (but not sure) that there may be some other session data on top of the authentication information that may be needed for sharing after sharing. What would be the best way to do this (again reliably and reliably)?
I found this article on passing identifiers (to database records that will contain shared data) and wondering if this is good.
All tips will be appreciated.
PS: I found several threads on SO here, but I don't think any of them answered these specific questions. I found this most useful:
Exchange data between ASP.NET applications
xxbbcc
source share