Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Global.asa user functions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Global.asa user functions

 Post Reply Post Reply
Author
ub3rl337ch3ch View Drop Down
Senior Member
Senior Member
Avatar

Joined: 16 February 2005
Location: Australia
Status: Offline
Points: 341
Post Options Post Options   Thanks (0) Thanks(0)   Quote ub3rl337ch3ch Quote  Post ReplyReply Direct Link To This Post Topic: Global.asa user functions
    Posted: 24 May 2005 at 5:06pm
Is it possible for me to include functions in global.asa that can be called by my .asp pages? or is global.asa limited to the onstart, enend etc applications? Its just that I'm using the same functions over and over in my pages, and I don't want to have 500 lines of functions per page, esp. when some of the pages would only be 2-300 lines long without the functions...
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2005 at 5:36pm
Depending upon the functions, you can use the "Sub Session_OnStart" to set a number of variables/arrays in the session cookie that 'could' eliminate a lot of function calls. I've done it quite successfully.
 
 
Back to Top
ub3rl337ch3ch View Drop Down
Senior Member
Senior Member
Avatar

Joined: 16 February 2005
Location: Australia
Status: Offline
Points: 341
Post Options Post Options   Thanks (0) Thanks(0)   Quote ub3rl337ch3ch Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 2005 at 5:36pm
ignore me, its early here... that's what common.asp and #include is for... duh
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.