State management in asp.net ?
Answers were Sorted based on User's Feedback
Answer / anil sharma
in asp.net following ways to maintain server site and
client site state.
client site:
1. View State
2.Query String
3.Hiddne Field
4. Cookies
Server Site is:
1.Session
2.Application
| Is This Answer Correct ? | 37 Yes | 4 No |
Answer / vipin tripathi
Ways to handle State Management
1. View State
2.Query String
3.Hiddne Field
4. Cookies
Server Site is:
1.Session
2.Application
3:Cache Object
| Is This Answer Correct ? | 31 Yes | 2 No |
Answer / situ
Asp.net is aserver technology communicate same way like
other technology like jsp,php,or asp etc.
Server technology communicate it resource like server
document,server control,server scripting from server,Server
document dynamic document communicate with espective page
cycle relates with roundtrip which initiate through any
server.control a action that means page state change,when
page state change control value,variable value &
datastructure value may be lost for current state,making
they comptable with various state,State management can be
assign two ways,
1.Client site
2.Server site
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / sanjeev
we have maintain state in two different ways.
client side and serverside.
client side:
1.Cookies
2.HiddenField
3.Viewstate
4.Querystring.
5.Hidden Frames
6.control field
serverside:
1.Session
2.Application
3.Database and cache.
4.profiles
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / manish singh(amalga fusion)
you can maintain client side state managment in following
way
1 view state
2 query string
3 hidden field
4 cookies
5 Hidden frames
you can maintain server side managment in following way
1 Application
2 Session
3 i think using cache object also but not sure.
| Is This Answer Correct ? | 12 Yes | 5 No |
Answer / navaneetha krishnan
we have maintain state in two different ways.
client side and serverside.
client side:
1.Cookies
2.HiddenField
3.Viewstate
4.Querystring.
serverside:
1.Session
2.Application
3.Database and cache.
| Is This Answer Correct ? | 10 Yes | 3 No |
Answer / kuldeep singh
There are two to maintain the state in asp.net...
client side and serverside.
client side:
1.Cookies
2.HiddenField
3.Viewstate
4.Querystring.
serverside:
1.Session state
2.Application state
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / jiturcm
we maintain state and page information over multiple
request for the same and different page.
| Is This Answer Correct ? | 4 Yes | 1 No |
Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
5 Answers ADITI, Syntax Softtech,
Explain about the .NET framework?
what is the challenging situation you faced in your career?
3 Answers Calsoft, HP, Satyam, Wipro,
What is the answer for "Which configuration Tool your using means" ? we have to tell about IIS or .Net Framework or VSS? Give me in brief ?
What are different methods of session maintenance in asp.net?
is it possible to develop gaming application using .net technology?
which scripting is used browser by server when we use validation controls. 1.javascript 2.vbscript 3.jscript 4.perl
Explain how do you deploy your asp.net application?
What is Web API?
What is difference between inproc and outproc?
What are the disadvantages of view state?
Is global asax mandatory?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)