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 (Zatvorena) (Mono Support )

11703 put(a) pogledan, 3 odgovor(a) 6.4.2012. 11:33:48Kreirao(la) inanc
inanc

inanc

6.4.2012. 11:33:48
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
Ovaj sadržaj još nije ocijenjen. 
469 Reputacija 60 Ukupno objava
inanc

inanc

6.4.2012. 11:41:52
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

Ovaj sadržaj još nije ocijenjen. 
469 Reputacija 60 Ukupno objava
kpeulic

kpeulic

6.4.2012. 11:49:26
Hi,

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

Regards
Ovaj sadržaj još nije ocijenjen. 
1849 Reputacija 181 Ukupno objava