How to set multiple Login pages
-
I am developing a multilanguage website. When a user tries to access a secured page without loging in, he/she is redirected to the login page which is defined in the web.config by a unique path. I need to create a seperate login page for each language. So, how to point to them all in the web.config
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
I am developing a multilanguage website. When a user tries to access a secured page without loging in, he/she is redirected to the login page which is defined in the web.config by a unique path. I need to create a seperate login page for each language. So, how to point to them all in the web.config
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
Why do you need seperate login pages ? Wouldn't you just want different text to be shown on the one page, based on language ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
I am developing a multilanguage website. When a user tries to access a secured page without loging in, he/she is redirected to the login page which is defined in the web.config by a unique path. I need to create a seperate login page for each language. So, how to point to them all in the web.config
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
Just check user login in on each and every page. If it contain nothing the redirect user to login page.
People Laugh on me Because i am Different but i Laugh on them Because they all are same.
-
Why do you need seperate login pages ? Wouldn't you just want different text to be shown on the one page, based on language ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Christian Graus wrote:
ouldn't you just want different text to be shown on the one page, based on language ?
Yes .. Do you mean to changet the text on the fly ?
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
Christian Graus wrote:
ouldn't you just want different text to be shown on the one page, based on language ?
Yes .. Do you mean to changet the text on the fly ?
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
Mohammed Gouda wrote:
changet the text on the fly ?
That would be better than having multiple login pages.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
Just check user login in on each and every page. If it contain nothing the redirect user to login page.
People Laugh on me Because i am Different but i Laugh on them Because they all are same.
rahul.net11 wrote:
redirect user to login page
You did not get me imagin that the login page is in English and the user is not familiar with English, he needs to be redirected to a login page in his own language
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
Christian Graus wrote:
ouldn't you just want different text to be shown on the one page, based on language ?
Yes .. Do you mean to changet the text on the fly ?
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
Christian Graus wrote:
ouldn't you just want different text to be shown on the one page, based on language ?
Yes .. Do you mean to changet the text on the fly ?
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
Yes, that's how I'd do all internationalisation, by having all strings set from resources.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Try to take a look here, I guess that's what you need: http://msdn.microsoft.com/en-us/library/ms227427(VS.80).aspx[^]
Thanks :) Very useful article, You made my life easier than before Many many thanks to you :rose: and to the greate CP :rose:
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
rahul.net11 wrote:
redirect user to login page
You did not get me imagin that the login page is in English and the user is not familiar with English, he needs to be redirected to a login page in his own language
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
Just as a matter of interest, how do you know what the user's native language is, if he hasn't logged in?
Jon Smith & Wesson: The original point and click interface
Oakman wrote:
how do you know what the user's native language is,
I need not to know his native language Simply, I will ask him to choose his language before logging in
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
Oakman wrote:
how do you know what the user's native language is,
I need not to know his native language Simply, I will ask him to choose his language before logging in
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
Mohammed Gouda wrote:
Simply, I will ask him to choose his language before logging in
So every time I visited your site, I would have to tell you what language I wanted to use before I logged in? That is really bad user experience.
Jon Smith & Wesson: The original point and click interface
-
Mohammed Gouda wrote:
Simply, I will ask him to choose his language before logging in
So every time I visited your site, I would have to tell you what language I wanted to use before I logged in? That is really bad user experience.
Jon Smith & Wesson: The original point and click interface
Oakman wrote:
So every time I visited your site, I would have to tell you what language I wanted to use before I logged in
Oh! thanks for the hint I can send you a cookie that holds your selection Have you better idea, please let me know
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
Thanks :) Very useful article, You made my life easier than before Many many thanks to you :rose: and to the greate CP :rose:
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;
-
Oakman wrote:
So every time I visited your site, I would have to tell you what language I wanted to use before I logged in
Oh! thanks for the hint I can send you a cookie that holds your selection Have you better idea, please let me know
Mohammed Gouda foreach(Minute m in MyLife) myExperience++;