spaceclown
|
| Posted: 04/19/2002, 11:55 AM |
|
I am trying to make a online user status display for my header but I am having trouble. My global.asa is written in VB script and I have a .asp page i created in notepad that writes:
<%
response.write "There " & Application("WhosOn") & " members online."
%>
So when published it works but I can't get it working in CC. I think this would make a good cc example and I will publish it.
I have put the global.asa content in modules->global funtions /lang asp and tried vb
I have put the .asp part in custom show, header about everywhere. The best I get is when the page loads you briefly see it, if you refresh over and over you can see it. Any ideas?
|
|
|
 |
Andrew B
|
| Posted: 04/19/2002, 4:12 PM |
|
Go into your cc page that you want it to show on, and make a 'menu' form.
Add 1 row to this form, and name it something like 'UsersOnline' in it's properties.
In that form's before-show event, place the code you have, but modify it to this :
fldUsersOnline = "There " & Application("WhosOn") & " members online."
That is one way to get it to show up, though I know that there are others.
|
|
|
 |
|