You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im new to owin. I have a situation. I have 2 .net web forms applications. App_1 is a dashboard/landing page application. App_2 is the main application. App_1 is authenticated using the Identity server 4, it loads all the user profile and other data related to the business. then it goes to App_2. App_2 is the main website. So i need to carry the data from app_1 to app_2. before using owin it was done by http session. when i started using owin, the default session didnt work. so added this middle to both of my webform app. but when i redirect the user from app_1 to app_2, i simply get an unhandled exception.
This is what something im trying to do.
App_1:
var owinsession = HttpContext.Current.GetOwinContext().GetSessionContext();
owinsession.AddOrUpdate("test", "hello world");
Response.Redirect(url);
Im trying to retrieve this session variable in App_2. But once the redirection statement is exectuted
an exception is thrown in owinsession.AddOrUpdate() in this line.
The text was updated successfully, but these errors were encountered:
im new to owin. I have a situation. I have 2 .net web forms applications. App_1 is a dashboard/landing page application. App_2 is the main application. App_1 is authenticated using the Identity server 4, it loads all the user profile and other data related to the business. then it goes to App_2. App_2 is the main website. So i need to carry the data from app_1 to app_2. before using owin it was done by http session. when i started using owin, the default session didnt work. so added this middle to both of my webform app. but when i redirect the user from app_1 to app_2, i simply get an unhandled exception.
This is what something im trying to do.
App_1:
var owinsession = HttpContext.Current.GetOwinContext().GetSessionContext();
owinsession.AddOrUpdate("test", "hello world");
Response.Redirect(url);
Im trying to retrieve this session variable in App_2. But once the redirection statement is exectuted
an exception is thrown in owinsession.AddOrUpdate() in this line.
The text was updated successfully, but these errors were encountered: