ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/allinter/public_html/common/queries.php on line 15
Question
Difference between application and session ?
 Question Submitted By :: Sweety
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference between application and session ?
Answer
# 1
Session & Appl  r parts of State Management ...

 if v session one object in one form v can use it in all 
forms untill the project stop's.....

but,
 In Appl state if v store value it may use throughout 
applacation even stop and restart it so it is very useful 
for permanent data...

EX:In Some website they ll display the visitors no by 
incrementing Application State data by One each time a 
application Restarts.......
 
Is This Answer Correct ?    5 Yes 3 No
Vicky's
 
  Re: Difference between application and session ?
Answer
# 2
session object is used to store information between http 
request for a particular user. Application are globally 
across users.
 
Is This Answer Correct ?    9 Yes 1 No
Shiva
 
 
 
  Re: Difference between application and session ?
Answer
# 3
application :Global User
Session :Single User
 
Is This Answer Correct ?    8 Yes 0 No
Mahendran
 
  Re: Difference between application and session ?
Answer
# 4
application state is a state where we hav the information
that is global for the application,
where as
session state is a state which is maintained as a 
per-client basis.
whenever a user first accesses a page a session id is
generated by asp.net.
that session id is then transmitted between the client and
the server via Http either  with the help of client-side
cookies or encoded in a mangled sessions of  the urls.
so the next time the users accesses,state associated with
that session id can be viewed or modified.
 
Is This Answer Correct ?    12 Yes 1 No
Ajay Gupta
 
  Re: Difference between application and session ?
Answer
# 5
Both Application and session state are used to store the 
data when the postback occurs in the web form.

Session State – Session State information is available to 
all pages opened by a user during a single visit. 

Application State - Application State information is 
available to all pages, regardless of which user requests a 
page.
 
Is This Answer Correct ?    3 Yes 0 No
Sangeetha
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed. Syntax-Softtech2
What are the page level transaction and class level transaction? Satyam1
What is the difference between a Stored procedure and function?  6
When we do partial refresh of a page using update panel how server knows it(which event occurs?)  2
Describe a diffgram ? Write any one use of that?  2
Which control would you use if you needed to make sure the values in two different controls matched?  3
wt is repeater control and wt is datalist control and wt defferences these two? i want some code in datalist?  1
What's a bubbled event?  2
What is the Global.asax used for?  3
What is custom tag in web.config ? Accenture1
About Global .asax ? Satyam5
why many web.config files are used in are project  2
What are various authentication mechanisms in ASP.NET ? TCS3
If you have to replicate a set of controls(UI) across a number of web pages, what will you do  1
What is FullTrust? Do GACed assemblies have FullTrust?  2
Which class provides methods that can be used to manage role membership to be used in user authorization? Wipro3
How many web.config a application can have ? Keane-India-Ltd5
what is <location> tag?  2
what is the difference between console.writeline &console.output.writeline?  2
Any alternative to avoid name collisions other then Namespaces?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com