What are the data types is possible to store in session?
and can we store dataset in session?
Answers were Sorted based on User's Feedback
Answer / senthil
Any data type can be stored session. Because it accepts all
the objects
Is This Answer Correct ? | 42 Yes | 7 No |
Answer / nitin
All types of data Which can be serialized can be stored in
session and we can also store dataset in session
Is This Answer Correct ? | 23 Yes | 6 No |
If you are using inproc then you can store any .net data
type (non serializable also), but if you are using state
server or sql server mode then you can only store
serializable data types.
Is This Answer Correct ? | 14 Yes | 7 No |
Answer / 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 |
How to handle error while project running on live
Describe the diffeerence between inline and code behind?
Is session server side or client side?
What is the difference between login controls and forms authentication?
What is a windows service?
How many types of validators are there in asp net?
i want the asp.net technical questions and answeres
What is inproc and outproc?
If 200 is for all successful operation then why do we have 201 response codes?
The question is "After sign out from email, Then we click a back button , we can't go to the previous page ie inbox page, It is displaying a login form only" My doubt is How will code this , If u know please blog me through this or my mail. my mail id is yoursguna@gmail.com
What is difference between session and cookies?
A Web Service Can Only Be Written In .net. Is it True??