How can I define a Hashtable to store session variable?

Platform: ASP.NET| Category: Custom Controls

We can define a hashtable to store a session variable as

Session['sessionVaribale']=new Hashtable();

Then the values can be stored as

((Hashtable)Session['sessionVariable'])['hashKey']='value1';

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.