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 is masterpage?
What is session start?
How can we access static variable?
What kind of programming language is ASP.NET?
What is Pre-Render event in ASP.NET?
How would you turn off cookies on a page of a website?
What is voluum?
What is razor? : asp.net mvc
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
Explain client side state management system.
What does it mean your session has timed out?
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?
How should I destroy my objects in asp.net?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
Explain asp.net web forms.