By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,659 Members | 1,611 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,659 IT Pros & Developers. It's quick & easy.

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

P: 1
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,
Stephen
Oct 27 '10 #1
Share this Question
Share on Google+
1 Reply


jhardman
Expert 2.5K+
P: 3,405
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")
Jared
Oct 27 '10 #2

Post your reply

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