I have inserted the "DestinationPageUrl" as 'null', which returns the current page, when member is logged in. However, I would like to send a variable along with the login. Thereby telling the page, that the user has just logged in. The variable shall not be "carried around", but just make it possible for me to show a message, when the user is logged in. I tried something like:
But it just redirects to a page called /masterpage/?test=yes
I want it to go to the current page. If DestinationPageUrl is not empty, it will return to either the startpage, or the page which is entered.
I the user is on page 1.aspx, I want the user to stay on 1.aspx when logged ind, not go to another site, where he has to find a way back. What to do...?
DestinationPageUrl - problem
Hey guys.
I having an issue with the asp.net Logincontrol.
I have inserted the "DestinationPageUrl" as 'null', which returns the current page, when member is logged in.
However, I would like to send a variable along with the login. Thereby telling the page, that the user has just logged in.
The variable shall not be "carried around", but just make it possible for me to show a message, when the user is logged in.
I tried something like:
<asp:Login id="Login1" runat="server" DestinationPageUrl="?test=yes">
But it just redirects to a page called /masterpage/?test=yes
I want it to go to the current page.
If DestinationPageUrl is not empty, it will return to either the startpage, or the page which is entered.
I the user is on page 1.aspx, I want the user to stay on 1.aspx when logged ind, not go to another site, where he has to find a way back.
What to do...?
Cheers!
is working on a reply...