Print Page | Close Window

Global.asa user functions

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=15212
Printed Date: 30 March 2026 at 5:01am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Global.asa user functions
Posted By: ub3rl337ch3ch
Subject: Global.asa user functions
Date 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...



Replies:
Posted By: dfrancis
Date 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.
 
 


Posted By: ub3rl337ch3ch
Date Posted: 24 May 2005 at 5:36pm
ignore me, its early here... that's what common.asp and #include is for... duh



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net