Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Can I call a controller action from Asp.net Login control, using OnLoggedIn?

$
0
0

Hi,

I'm working ona web app initially developed using webforms and c#; now more features being added to it using MVC, c#.

Can I call a MVC COntroller Action from amn .aspx page, where it is using <asp:Login...>, using OnLoggedIn (or OnAutenticate)? Thanks for any suggestion!

For example like this:

<form id="form1" runat="server"><asp:Login id="Login1" runat="server" OnLoggedIn="~/Product/Login"></asp:Login></form>

Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>