This is a discussion on "Global.asa" within the Classic ASP section. This forum, and the thread "Global.asa are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Global.asa
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Global.asa
I have an existing global.asa. It only included stuff in the Session sections. Then I made changes and added an application session, but I'm getting errors that the objects that I have created in the Application_OnStart don't exist.
How can I figure out what's going on? Thanks jakyra |
|
|
|
#2
|
|||
|
|||
|
i might be totally wrong here, but maybe your webserver needs to be rebooted so that the application can start.
|
|
#3
|
||||
|
||||
|
It sounds like the syntax you are using may be incorrect, or that you are wrongly addressing the objects.
Can you post a txt version of your file here?
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#4
|
|||
|
|||
|
This is what I'm trying to do:
in Application_OnLoad: SQL = "SELECT * FROM Table" set Application("Table") = new myHashTable (a class I wrote myself) Table.LoadData SQL Thanks jakyra |
|
#5
|
|||
|
|||
|
Certain objects are not available in App_OnStart, like request, response and session. Make sure your not using any of those. And is your class included in global.asa? What is the exact error message your getting.
Rob. |
![]() |
| Tags |
| globalasa |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Global Karaoke portal | daninmanchester | Free Web Site Critique | 2 | Jul 12th, 2007 19:46 |
| Global font resizer | jazpal | JavaScript Forum | 1 | May 29th, 2007 12:14 |
| Senior ad operations for global media company | Web JobBot | Job Opportunities | 0 | Oct 9th, 2006 11:42 |
| the value of the global variable doesn't stick! help plz | Sanoriah | Flash & Multimedia Forum | 4 | Sep 8th, 2006 12:51 |
| SSI, server.execute and Global variables | D3mon | Classic ASP | 5 | May 8th, 2004 09:50 |