Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Abhi
(65)
Appukuttan
(40)
raj krishna
(37)
Last 7 Days
Appukuttan
(660)
Babu Akkandi
(465)
Tejinder Singh ...
(273)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Application & Session Variables explained....................
Posted Date: 03 Jul 2008
Resource Type:
Articles
Category:
Web Applications
Author:
ravi
Member Level:
Gold
Rating:
Points
: 7
Session
Application
Application variables are the variables which remain common for the whole application… Their value can be used across the whole application...... And they die only when the application stops or probably when they are killed forcibily......... The ideal example for these kind of variables are site counter........ We can find out how many people accessed a particular site since the time it went live via application variables and incrementing the same on ever session start.........
Session variables are variables which remain common for the whole application but for one particular user. They also can be used across the whole application...... But they die when a particular user session ends or probably when they are killed forcibily...... The ideal example for this kind of variable are user id....... You might want to show "Welcome Ravi" on every page of your site till ravi logs off...... So in session start you set a variable to "Welcome Ravi" and kill it on session end......
All these methods like session start, session end, application start, application end are found in global.asax and that’s the reason global.asax is one for the whole ASP.Net application......
I hope this provides you with the info that you needed........
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Working with datalist control
Previous Resource:
Data Validation Controls in ASP.NET 2.0 Part 2
Return to Discussion Resource Index
Post New Resource
Category:
Web Applications
Post resources and
earn money
!
Related Resources
Cryptography in Asp.net
Dynamically creating ASP.NET controls from the code behind files
Active Directory Authentication with Form Based Authentication with VB.net
Customizing Datagrid - Series-1 - Paging
Enterprise Library:Reading And Writing Configuration Application Block
dotNet Slackers
BizTalk Adaptors
Web Design
Contact Us
Privacy Policy
Terms Of Use