IT Community - Software Programming, Web Development and Technical Support

What is a SESSION and APPLICATION object in ASP. Net?

This is a discussion on What is a SESSION and APPLICATION object in ASP. Net? within the ASP and ASP.NET Programming forums, part of the Web Development category; What is a SESSION and APPLICATION object in ASP. Net?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 05:47 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Question What is a SESSION and APPLICATION object in ASP. Net?

What is a SESSION and APPLICATION object in ASP. Net?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 06:05 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: What is a SESSION and APPLICATION object in ASP. Net?

Hi Bluesky... Actually there is no much difference in that..

Session object store information between HTTP requests for a particular user, while application object are global across users.

Thats it...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-06-2007, 03:59 AM
Anand Anand is offline
D-Web Programmer
 
Join Date: Mar 2007
Posts: 52
Anand is on a distinguished road
Default Re: What is a SESSION and APPLICATION object in ASP. Net?

Session object will store the value until you close the browser, where as Application object will store the values until you restart the web server.
__________________
None of us is As Strong as All of us.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-07-2007, 01:25 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 1,061
S.Vinothkumar is on a distinguished road
Default Re: What is a SESSION and APPLICATION object in ASP. Net?

The Session object is used to store information for the duration of the current user's Web-server session.

The Application object stores information for the duration of the application (a group of pages with a common root).
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application has failed to start because the application configuration is incorrect kingmaker ASP and ASP.NET Programming 5 01-03-2008 03:18 AM
How to clear Session SaravananJ C# Programming 4 09-12-2007 02:38 AM
Destroy session using session ID Jeyaseelansarc PHP Programming 1 09-07-2007 07:42 AM
Object reference not set to an instance of an object for crystal reports in .net KiruthikaSambandam Database Support 1 08-03-2007 03:26 AM
Can I store a COM object in a session ? saravanan PHP Programming 1 07-22-2007 10:22 PM


All times are GMT -7. The time now is 12:53 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0