468,544 Members | 1,815 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,544 developers. It's quick & easy.

How to create a session: to stay during navigation from one page to another

I am modifying an ASP Classic project, first page have drop down consists of several languages. when I navigate form one page to another page I want the form to remmeber which language is used. On first page I created "div" to hold the introductory page based on the choosen language.
ex:if language is Spanish will show some spanish instruction...and next page will be in Spanish...

When I go back I want the SESSION to remeber which language was selected and display the information on that language without letting the user to RE-Select his/her language from the drop down.

Thank you,
Oct 27 '10 #1
1 1338
3,405 Expert 2GB
This is easier to do than to ask on a forum. For example if you post this in a form with an input name "lang" than in the form handler say
Expand|Select|Wrap|Line Numbers
  1. session("lang") = request("lang")
Oct 27 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by hoenes1 | last post: by
2 posts views Thread by Jan | last post: by
4 posts views Thread by Pål Andreassen | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.