Application variables need to be handled carefully. http://learnasp.com/learn/sessionsapps.asp explains them -- they have not changed much from Classic ASP. Don't forget about locking if incrementing them.
To see if you are in a directory figure it out from the server variables but I have to ask what you are attempting to do. There may be better ways to achieve what you want, On Thu, 24 Feb 2005 15:43:26 -0000, scaevola637 <[EMAIL PROTECTED]> wrote: > > Where is the best place to set application variables? > > What about variables that only exist inside a subdirectory? > > ie mysite/thislibrary/start.aspx > > I only need the variables set if inside thislibrary subdirectory > > > > > > Yahoo! Groups Sponsor > > ADVERTISEMENT > > > ________________________________ > Yahoo! Groups Links > > To visit your group on the web, go to: > http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
