MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Redirection to login.aspx on a authorization requiring page (Closed) (Mono Support )

Viewed 4263 time(s), 3 post(s) 4/6/2012 11:33:48 AMby inanc
inanc

inanc

4/6/2012 11:33:48 AM
Hello,

I could not find a solution to change the default login page on MonoX. Forexample there is a page requiring authorization in order to see the content. If you are not authorized then you are redirected default Monox Login page. My wish is to set that login page according to my special requirements. How can I do that?
Thank you.
Inanc
This content has not been rated yet. 
469 Reputation 60 Total posts
inanc

inanc

4/6/2012 11:41:52 AM
I am sorry . After a little bit searching, I foud that the parameter that I've mentioned above is in web.config. As

<forms name=".MonoX2" slidingExpiration="true" cookieless="UseCookies" protection="All" timeout="129600" loginUrl="/login.aspx" />

You can set the default page according to your requirements.

Thanks
Inanc

This content has not been rated yet. 
469 Reputation 60 Total posts
kpeulic

kpeulic

4/6/2012 11:49:26 AM
Hi,

Yes, this is the correct way for redirect to the custom login page.

Regards
This content has not been rated yet. 
1849 Reputation 181 Total posts