Session State and user Settings

  • Thread starter Thread starter TCORDON
  • Start date Start date
T

TCORDON

I have an app that lets the user select a country when he enters the site,
where would this value (country code) would you recommend that i store it?
Session var? Cookie? the application must remember this value for the next
time the user visits the site and trough all the pages inside the site.
Should i read this value in Global.asax On Session Start?

Also should I store user Id and name in a session variable so I can get
those values at any time? or where else?

Thanks
 
Session wouldn't work for future signins. Cookie if
they don't use some sort of login/logout mechanism.
Database if they do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top