Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 06:45:03 PM

Pages: [1]   Go Down
  Print  
Author Topic: "Current Users" - Global.asa issue  (Read 1355 times)
HarleyBlonde
Intergalactic Cowboy
*****
Offline Offline

Posts: 51



WWW
« on: October 13, 2004, 10:33:15 AM »

I posted this in the ASP section and yet no reply.
Can anyone explain the problem with the "global.asa" file code that does not work on the LP servers?

The code is:
Code:

<script language="vbscript" runat="server">
Sub Application_OnStart
    Session.Timeout = 20
Application.Lock
       Application("WhosOn") = 0
    Application.UnLock
End Sub

Sub Session_OnStart
    Application.Lock
  Application("WhosOn") = Application("WhosOn") + 1
Application.UnLock
End Sub

Sub Session_OnEnd
Application.Lock
  Application("WhosOn") = Application("WhosOn") - 1
Application.UnLock
End Sub
</script>


I actually have to hide this file so that my pages will even load?

Thanks in advance, HarleyBlonde
Logged
Nibbler
21st century digital boy
Master Jedi
*****
Offline Offline

Posts: 1178



WWW
« Reply #1 on: October 13, 2004, 11:05:14 AM »

Just bump the original thread, no need to spam the forum.
Logged

Missing since 1983

HarleyBlonde
Intergalactic Cowboy
*****
Offline Offline

Posts: 51



WWW
« Reply #2 on: October 13, 2004, 11:10:07 AM »

Quote from: Nibbler
Just bump the original thread, no need to spam the forum.


Nibbler,

What does it mean to "bump" the orig thread? Like move it to the top again?

Sorry for my newbie moves, thou I am learning

Thanks, HB
Logged
scanman20
Über Jedi
*****
Offline Offline

Posts: 1520



WWW
« Reply #3 on: October 13, 2004, 11:14:47 AM »

Quote from: HarleyBlonde
Quote from: Nibbler
Just bump the original thread, no need to spam the forum.


Nibbler,

What does it mean to "bump" the orig thread? Like move it to the top again?

Sorry for my newbie moves, thou I am learning

Thanks, HB
Yup. Bump it back to the top.

With regard to the original question, perhaps it has something to do with the fact that ASP here isn't true ASP but rather ChiliSoft's ASP.
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
GMTurner
Berserker Poster
*****
Offline Offline

Posts: 7539



WWW
« Reply #4 on: October 13, 2004, 11:29:44 AM »

Generally, if you just post a new message in the thread it will cause it to re-appear for the people that use the "view posts since last visit" option and it will cause the thread to be flagged as having a new message to help draw attention to it as well...
Logged

The above post was made at a time when I gave a dang and doesn't necessarily reflect my current views or opinions.

For those no longer with us ... Grr..!!

Turner's Lounge
HarleyBlonde
Intergalactic Cowboy
*****
Offline Offline

Posts: 51



WWW
« Reply #5 on: October 13, 2004, 12:28:22 PM »

[quote="scanman20With regard to the original question, perhaps it has something to do with the fact that ASP here isn't true ASP but rather ChiliSoft's ASP.[/quote]

Scanman,

There you go! I did see that chart showing the difference between the two, but didn't realize that it was displayed to show all of the ASP functions that really were "not" available to us at LP.

I have been a big fan of ASP and guess I have to move on now to PHP or what ever that is.

I will re-check that list and see if indeed that "Application:current users" is not offered in Chili's - ASP.

Thanks again, HB
Logged
TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #6 on: October 13, 2004, 01:35:55 PM »

hi,

I deleted the duplicate post in "Webdesign and HTML." The original post was appropriately placed in ASP. Although some questions are answered within minutes of posting, the way forums work, please expect to wait up to days, not hours for answers. All forum members are volunteers, so the response time is not guaranteed as it is with regular support.

Thank you. Smile
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
Pages: [1]   Go Up
  Print  
 
Jump to: