Consider using an ASP include page w/ global variables on all pages instead of editing global.asa
- any changes to your db will probably redo your global.asa and you may lose your edits
--
| Thanks Mike,
| I think thats cleared it up a bit for me.
|
| On Mon, 13 Dec 2004 17:44:23 -0600, "Mike Mueller"
|
| >John,
| >
| >An application is a group of asp pages working together
| >Application variables are created in the global.asa file.
| >An application is a group of asp pages working together
| >Application variables are global and affect all users
| >Application variables can either last for a session or as
| >long as the application is running.
| >
| >A Session occurs when a new user accesses an asp page
| >Session variables can be created in either the gloabl.asa
| >file or in any asp page
| >Session variables can be changed in any asp page
| >Session variables affect only the one user
| >A Session ends when the user navigates out of the
| >application and the timeout expires- default is 20 minutes
| >
| >Good tutorial on this:
| >
http://www.karachiplus.com/tutorial/asp.asp
| >
| >Mike
| >
| >
| >| >: Where would that application variable be set?....in a
| >global.asa file?
| >: Also, I'm not 100% certain what constitutes an application
| >in the web
| >: sense?
| >: Also, if an application variable is set this way, would I
| >be able to
| >: change its value in other pages?
| >: TIA.
| >:
| >: On Mon, 13 Dec 2004 21:06:14 -0000, "Jon Spivey"
| ><
[email protected]>
| >: wrote:
| >:
| >: >Hi,
| >: >You can set an application variable which is the same for
| >all users
| >: >application("Whatever") = "something"
| >: >or to have the variable different for each user
| >: >session("whatever")="something"
| >:
| >
|