locked
Accessing session variables created on aspx.cs file in mvc controller RRS feed

  • Question

  • User803078016 posted

    I am working on a project which has both webforms and mvc in it. Can one access session variable created on aspx.cs file(Login button click) in a mvc controller? Does the user still remain authenticated in mvc context?

    I would appreciate if you can elaborate on this. 

    If I use a mvc login page would the session variables and authentication cookie be available in web forms?

    Wednesday, November 28, 2018 4:58 AM

All replies

  • User753101303 posted

    Hi,

    Yes it should work. It is still a single application based on ASP.NET.

    Wednesday, November 28, 2018 3:11 PM