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
how to transfer the file from client to server using asp.net
How can we create custom controls in asp net?
What are assemblies and namespaces and explain the difference between them ?
Is asp.net 64-bit enabled? How?
Why is xap important?
What is master page in dtp?
What are the advantages of using Master Pages?
Is oauth for authentication or authorization?
Explain about secure socket layer?
What does aspcompat="true" mean?
What is the use of placeholder control? Can we see it at runtime?
How is the asp.net mvc architecture different from others? : asp.net mvc
What is app_code folder in asp net?
How do you use viewstate?
How to find out what version of asp.net I am using on my machine?