H
Harlan Messinger
On the default page in my ASP.NET application I have a Login control.
When I log in successfully, it takes me to the page indicated in the
control's DestinationPageUrl property.
I have the control configured to display the Remember Me checkbox. I
know the Remember Me feature works, because the LoginControl is inside
the AnonymousTemplate of a LovingView, and when I close the browser tab
and then reopen the default page, the Login form is absent, as it should
be, because I'm already logged in.
But that's the problem: I'm still on the default page. I'd only put the
LoginView there to verify that I was logged in. What I would expect to
happen, what I *want* to have happen, is that when I arrive at this page
and it remembers me, it should do the same thing it does when I log in
manually: take me to the DestinationPageUrl page. I do I get it to do that?
When I log in successfully, it takes me to the page indicated in the
control's DestinationPageUrl property.
I have the control configured to display the Remember Me checkbox. I
know the Remember Me feature works, because the LoginControl is inside
the AnonymousTemplate of a LovingView, and when I close the browser tab
and then reopen the default page, the Login form is absent, as it should
be, because I'm already logged in.
But that's the problem: I'm still on the default page. I'd only put the
LoginView there to verify that I was logged in. What I would expect to
happen, what I *want* to have happen, is that when I arrive at this page
and it remembers me, it should do the same thing it does when I log in
manually: take me to the DestinationPageUrl page. I do I get it to do that?