Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Grillo Frederiksen 34 posts 67 karma points
    Jul 15, 2013 @ 13:14
    Peter Grillo Frederiksen
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft