General discussion

Locked

Using the Session object in ASP

By victorvartan ·
How can I use Session in changing the language to the one selected by the user? I tried a lot of ways but I think that the client-server communication is just too week. I would be glad if you could e-mail your solution as quickley as possible.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Using the Session object in ASP

by kirkk In reply to Using the Session object ...

Try this:

Session("Language") = Request.Form("lstLanguage")

where lstLanguage is the name of the list box on the form where the user selects the language.

Make the options like this:

<option value="1">English</option>
<option value="2">Spanish</option>
etc...

Then just use a select case:

Select Case Session("Language")
Case 1:
<use English>
Case 2:
<use Spanish>
etc...

Hope this helps - good luck!

Collapse -

Using the Session object in ASP

by victorvartan In reply to Using the Session object ...
Collapse -

Using the Session object in ASP

by victorvartan In reply to Using the Session object ...
Collapse -

Using the Session object in ASP

by victorvartan In reply to Using the Session object ...
Back to Web Development Forum
4 total posts (Page 1 of 1)  

Software Forums