Print Page | Close Window

Weird application variable results!!

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17237
Printed Date: 17 April 2026 at 11:29am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Weird application variable results!!
Posted By: ahage4x4
Subject: Weird application variable results!!
Date Posted: 12 November 2005 at 9:22pm
Hello all,
I just installed the forum, and it's just amazing how complete it is.
There's something weird with my application variables.
Here's a part of my global asa, i use it to show the number of visitors etc.. (PS: It is not an ASP question)


Sub Session_OnStart

application.lock
application("activevisitors") = application("activevisitors") + 1
application.unlock
..........................................

Sub Session_OnEnd
application.lock
application("activevisitors")=application("activevisitors") - 1
application.unlock
End Sub

And guess what after installing the forum i have values like there is 30 active visitors while there's only one.

Anyone can guess the reason of that??
Thank's again

Anthony.




Replies:
Posted By: ahage4x4
Date Posted: 13 November 2005 at 1:50pm
Hi again,
I even change my variable names and i still have my active visitors number to "jump" to higher values

Any ideas?
Thank you.
Anthony


Posted By: dj air
Date Posted: 13 November 2005 at 2:04pm
you must have a mis calculation somehwere

are you executing it right. also it maybe that there is an issue with the server and application veribles Confused

try CLnting it all that may make a difference but not likly


Posted By: dpyers
Date Posted: 13 November 2005 at 5:52pm
Session_OnEnd is very imprecise.
AOL will initiate a session for every request to a page - e.g. a session for each image.
If you're on some of the free hosts, you're sharing your application pool with other sites.


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: ahage4x4
Date Posted: 14 November 2005 at 6:19am
Hello,
dpyers, what u said about AOL is interesting, however i was looking at my logs, there's no AOL logs at all.
I'm on shared hosting right now, am i sharing my application pool if so?

Thank you


Posted By: dj air
Date Posted: 14 November 2005 at 6:24am
yes you are likely , who is the webhost?

some webhosts will move you/isolate you into your own application pool, some wont


Posted By: ahage4x4
Date Posted: 14 November 2005 at 7:30am
Originally posted by dj air dj air wrote:

yes you are likely , who is the webhost?

some webhosts will move you/isolate you into your own application pool, some wont

dj air, i'm with hosteur.com which is a relatively good webhost for my student budget.
The weird thing is that i never noticed weird values until i installed the forum so i thought it was because of  the forum.
I will ask my webhost concerning my application pool.

Thanks a lot for all your help.
Best regards
Anthony


Posted By: dpyers
Date Posted: 14 November 2005 at 8:36pm
Let us know what happens. I'd be interested in how it all turns out.

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: ahage4x4
Date Posted: 15 November 2005 at 9:40am
Ok dpyers,
I'll keep on testing until i understand so i can explain to my webhost the problem, because till now, i cannot really explain. Anyway i don't think they will be of a help, for them it won't be a serious problemOuch.
Thanks



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