Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 10th, 2005, 05:15 AM
Dave
Guest
 
Posts: n/a
Default Global variable in ASP 3.0

In classic ASP (ASP 3.0), can I create a variable in global.asa and
reference it from other pages in my web app? If so, how?

So far it appears that anything I create in Application_onStart() is not
visible from other pages.


  #2  
Old December 10th, 2005, 08:55 AM
Evertjan.
Guest
 
Posts: n/a
Default Re: Global variable in ASP 3.0

Dave wrote on 10 dec 2005 in microsoft.public.inetserver.asp.general:
[color=blue]
> In classic ASP (ASP 3.0), can I create a variable in global.asa and
> reference it from other pages in my web app? If so, how?
>
> So far it appears that anything I create in Application_onStart() is
> not visible from other pages.
>[/color]

Use an application variable.

<http://www.google.com/search?q=asp+application.variable>

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

  #3  
Old December 10th, 2005, 03:15 PM
Dave
Guest
 
Posts: n/a
Default Re: Global variable in ASP 3.0

Thank you Evertjan

That link took me to a very helpful ASP site:
http://www.w3schools.com/asp/asp_globalasa.asp

Dave


"Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
news:Xns972862FE69FCBeejj99@194.109.133.242...[color=blue]
> Dave wrote on 10 dec 2005 in microsoft.public.inetserver.asp.general:
>[color=green]
>> In classic ASP (ASP 3.0), can I create a variable in global.asa and
>> reference it from other pages in my web app? If so, how?
>>
>> So far it appears that anything I create in Application_onStart() is
>> not visible from other pages.
>>[/color]
>
> Use an application variable.
>
> <http://www.google.com/search?q=asp+application.variable>
>
> --
> Evertjan.
> The Netherlands.
> (Replace all crosses with dots in my emailaddress)
>[/color]


 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles