D
dgk
I'm trying to redirect the user using the built-in authentication
(ASP.Net 2) and it looks like the correct place would be the LoggedIn
event of the Login control. But apparently the user and roles aren't
available yet. At least in VB, the My.User.IsInRole fails there.
If I check at the page load of the start page it works ok, but I
figured that it would be cleaner just setting the DestinationPageUrl
property of the login form.
Is there a better way to handle this?
(ASP.Net 2) and it looks like the correct place would be the LoggedIn
event of the Login control. But apparently the user and roles aren't
available yet. At least in VB, the My.User.IsInRole fails there.
If I check at the page load of the start page it works ok, but I
figured that it would be cleaner just setting the DestinationPageUrl
property of the login form.
Is there a better way to handle this?