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 8410033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:04:34+00:00 2026-06-10T00:04:34+00:00

Ran into a stupid problem… So right now I implement Application_Start to load up

  • 0

Ran into a stupid problem…

So right now I implement Application_Start to load up the hash tables, which works fine. Next in Session_Start I parse a user’s cookie to retrieve his name, which, again, works fine. The problem happens when I store his username in a variable in Global.asax.cs. I didn’t really realize that this is a variable shared among all processes/threads. So I guess my question is how do you parse a user’s cookie one time and then save the data for sure elsewhere in the process/thread.

  • 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-06-10T00:04:35+00:00Added an answer on June 10, 2026 at 12:04 am

    You can store cookies in session and use it later. You can store any object in session collection and retrieve it later before it expires. You can read more over here

    Assigning to session

    Session["anyName"] = "value";
    

    Retrieving from session object

    string str = Session["anyName"].ToString();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ran into another problem using SSL and Tomcat: I've configured a keystore which contains
I've ran into a bit of a stupid problem today: In my project I
First sorry if its a stupid question but i ran into a problem what
Now i ran into some stupid situation. I want the users to be able
I ran into a problem using Springsource Tool Suite when writing some groovy scripts
I ran into a scenario where I had a delegate callback which could occur
I ran into a problem that suggests I may be implementing a design pattern
I ran into a problem or maybe even a MySQL limitation. The situation is
I recently ran into a quite complex problem and after looking around a lot
Ran into a strange problem in PHP today and I'm wondering if someone can

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.