Login and Session Data error 500

Issue

Upon login, DNN clears the session data invalidating the cookie. ( Issue present in 9.2).The issue affects DNN users with custom modules that make use of the asp.net session id Cookie.

Reason

The reason is that every page reads some property from the session, but the session is only loaded on the home page and then it is supposed to persist
but due to this new issue, the session is invalidated after the login so the page returns error 500, due to the session object.

Solution

Option 1: Reload the necessary information into the session upon logging, 

Option 2: Load the data directly from the source instead of the session.

 

Comments

0 comments

Please sign in to leave a comment.