Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Weird application variable results!!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Weird application variable results!!

 Post Reply Post Reply Page  12>
Author
ahage4x4 View Drop Down
Newbie
Newbie


Joined: 12 November 2005
Location: France
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahage4x4 Quote  Post ReplyReply Direct Link To This Post Topic: Weird application variable results!!
    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.

Back to Top
ahage4x4 View Drop Down
Newbie
Newbie


Joined: 12 November 2005
Location: France
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahage4x4 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
ahage4x4 View Drop Down
Newbie
Newbie


Joined: 12 November 2005
Location: France
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahage4x4 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ahage4x4 View Drop Down
Newbie
Newbie


Joined: 12 November 2005
Location: France
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahage4x4 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply Page  12>

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.