What are the data types is possible to store in session?
and can we store dataset in session?
Answer Posted / sasi
Sesions can store any type strings,objects, not values.
Eg:-Session["n"]=100//error(won't allow values directly
Session["n"]="100" //correct
String s=Session["n"].tostring();//reading Seesion values
dataset ds=new dataset();
ds=(dataset)session["n"].Tostring();
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What are the types of caching in asp.net?
When should I use server transfer and response redirect?
How many ways are there to maintain a state in .net? What is view state?
How can you enable impersonation in the web.config file?
What does uri mean?
How do you store a value in viewstate and retrieve them?
Explain what are webservices?
What is voluum?
What is the use of autowireup in asp.net?
What's the use of formatters in .net?
What is client side state management?
What is the extension of master page in asp.net?
What is asp.net with mvc? : Asp.Net MVC
What is asp.net and how it works?
What does asp in asp.net stand for?