Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4273636
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T07:44:22+00:00 2026-05-21T07:44:22+00:00

i would like to know how to keep a session or how to make

  • 0

i would like to know how to keep a session or how to make the browser remember which language should the application keep while navigating and moving from a page to another should i recall the overrided methode :

protected override void InitializeCulture()  
        {  
            base.InitializeCulture();  
            string cult = Request["lstLanguage"];  
            if (cult != null)  
            {  
                Culture = cult;  
                UICulture = cult;  
            }  
}  

i’ve tried :

Session["cult"] = cult;

but it does not work
more informations there is a a drop down list at the home page which make the user choose the language.
what should i do ? thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T07:44:23+00:00Added an answer on May 21, 2026 at 7:44 am

    You can keep the selected culture in a cookie. That way, when the user returns to your site the culture will be “remembered”.

    Using Session will mean the user has to keep choosing the culture when they return – not good.

    You can access the site’s cookies with the Request object:

    Request.Cookies["culture"].Value = chosenCultureCode;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know if there is a way to keep the session
I would like to know which tags I should use for layout like this.
I would like to know if a QTimer will keep on counting once it
Would like to know what a programmer should know to become a good at
I would like to know the difference between KEEP and UNCATLG. As per my
I would like to know how to create a method which takes an ArrayList
I would like to improve security on a current application regarding session management and
I would like to preserve a session while connecting to server using HttpGet and
I would like to know if it's possible to paginate using cursors and keep
I'm newbie in rails and I would like to know how should I do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.