This topic is locked
[SOLVED]

  Language selector on page register.asp

8/19/2010 09:48:53
ASPRunnerPro General questions
P
Philip author

Hello
Is there a reason why the language selector is not on the page register.asp?

I'm missing this and wonder wether I can add it myself.

Has someone an idea?

Background: I prefer to give the users of an application the possibility to register upfront from a link on a html page including information. With the actually given situation I have to put the link to the page login.asp and ask them to choose language and then click register.
Philip

A
ann 8/20/2010

Philip,
you can create multilanguage dropdown manually.

Then process selected language in the Add page: Before process event:

if Request("language") then

Session("language")=Request("language")

end if
P
Philip author 8/22/2010



Philip,
you can create multilanguage dropdown manually.

Then process selected language in the Add page: Before process event:

if Request("language") then

Session("language")=Request("language")

end if



Ann,

what do you mean by "you can create multilanguage dropdown manually"?

Do I copy it from login.asp or ...?
Regards,

Philip

A
ann 8/23/2010

Philip,
use <select> tag to create dropdown manually.

More information:

http://www.w3schools.com/tags/tag_select.asp

P
Philip author 8/23/2010



Philip,
use <select> tag to create dropdown manually.

More information:

http://www.w3schools.com/tags/tag_select.asp


Ann,

this doesn't really solve the problem (I want to choose language BEFORE register.asp is displayed).
I found another solution:

a: I implemented in my project a "pseudo-list" called language_register.asp

b: on my HTML pages I put links to language_register.asp?language=German and language_register.asp?language=French

c: on language_register.asp I set a BEFORE DISPLAY Event:
'** Redirect to another page ****

Response.Redirect "register.asp"
Regards & thanks,

Philip