Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Application Variable and Session Variable

This is a discussion on Application Variable and Session Variable within the Scripting forums, part of the Web Development category; What is the difference between application variable and session variable?...

Go Back   Geeks Talk > Web Development > Scripting
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Scripting Discuss Issues and Problems related to VB Script, Java Script and other Client Side Scripting

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2009
Junior Member
 
Join Date: Jun 2009
Location: Indore, India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
manish4377 is on a distinguished road
Application Variable and Session Variable

What is the difference between application variable and session variable?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-12-2009
Junior Member
 
Join Date: Sep 2009
Location: india
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
karunavashishtha is on a distinguished road
Re: Application Variable and Session Variable

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 kindof 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 kindof variable are user id… You might want to show "Welcome Vishal" on every page of your site till vishal logs off… So in session start you set a variable to "Welcome Vishal" 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…
Reply With Quote
Reply

  Geeks Talk > Web Development > Scripting

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

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
variable, variable name sajithkutty PERL 5 08-09-2009 02:12 AM
Parameter variable and Mapping variable kiranmanju Data Warehousing 0 01-08-2008 04:17 AM
Create new variable in BO Geek_Guest Data Warehousing 0 10-27-2007 04:55 AM
Normal Variable and the Comp-3 Variable in Cobol Geek_Guest MainFrame 0 07-04-2007 09:47 PM
redefine a variable Geek_Guest MainFrame 1 05-18-2007 04:57 PM


All times are GMT -4. The time now is 03:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved