• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

Multiple global.asa session variables inheritance

I need to setup my site so that I have different global.asa files in different directories.

Is it possible for a gloabl.asa file, in a sub-directory, to "read" session variables from the global.asa file in the root?

Make sense? I hope so.

Thanks for any input.

Pete
0
eccles
Asked:
eccles
1 Solution
 
PepsterCommented:
Hi

The answer is no, you can only have one Global.asa per 'application' so you best bet would probably be to create three applications on IIS and if you wanted to share information between the three then use a text file in a central location on the server or even a database.

If your not storing much then go for the text file and write two functions using the FILESYSTEM Object, one to read info and the other to write info.

Hope this helps
0
 
ecclesAuthor Commented:
It helps. It confirmed what I had already suspected.

Many thanks,

Pete
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now