Login Link to redirect to custom Login Page

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
3/18/2013 2:35:01 AM
Gravatar
Total Posts 28

Login Link to redirect to custom Login Page

I have created Custom page for Login.
In which i have used "Sign In Module" & It is working Fine.
In mojoPortal We have Login|Register link in Header which are controlled by<portal:LoginLink>

I would like to have some thing like this If I click on Loginlink in header menu the flow should go to the custom login page created by me.
Is their some functionality like
 <portal:LoginLink ID="LoginLink" runat="server" OnClick="/mojoportal/login-1.aspx"/>
Since currently it is redirecting to login page provided by mojo portal.

3/18/2013 10:21:51 AM
Gravatar
Total Posts 2252

Re: Login Link to redirect to custom Login Page

Add the following key to your user.config file after replacing the value with the page url for the page you want people to use for logging in.

<add key="LoginPageRelativeUrl" value="/Secure/Login.aspx" />

After adding it to your user.config file, you will need to open the web.config, add a space to the bottom of the file and then save it. This will force IIS to reload your site and reread the user.config file.

HTH,
Joe D.

3/19/2013 8:07:18 AM
Gravatar
Total Posts 28

Re: Login Link to redirect to custom Login Page


Thanks Now it is working perfectly.I also wanted to know how the functionality of Logout link work .Is there any physical page associated with it ? .Same as login link can we change the page which should be displayed after logout page .For eg I would like to show page to user which will show message to user after he logged out
 "You have been logged off your account.It is now safe to leave computer." &
Button below it Which will navigate to Home page.

You must sign in to post in the forums. This thread is closed to new posts.