Global.asa

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.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1  
Old Dec 10th, 2003, 15:36
Reputable Member
Join Date: Sep 2003
Location: USA
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Dec 11th, 2003, 14:25
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
i might be totally wrong here, but maybe your webserver needs to be rebooted so that the application can start.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Dec 11th, 2003, 14:36
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,160
Blog Entries: 7
Thanks: 27
Thanked 19 Times in 16 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Dec 12th, 2003, 18:16
Reputable Member
Join Date: Sep 2003
Location: USA
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Feb 2nd, 2004, 10:07
Up'n'Coming Member
Join Date: Feb 2004
Location: Woodbridge, UK
Age: 27
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
globalasa

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

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


All times are GMT. The time now is 22:19.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42