Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 active ueser
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ez4arab
Junior Member

479 Posts

Posted - 06 June 2001 :  07:33:47  Show Profile  Visit Ez4arab's Homepage
hi can any body help me to get active user file

e3stone
Average Member

USA
885 Posts

Posted - 06 June 2001 :  07:41:52  Show Profile  Send e3stone an AOL message
this should help you

Here's where you can download it:
http://www.dsilvera.com/forum/mods/active_users.zip

This is the discussion about it:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=3041&FORUM_ID=25


<-- Eric -->


InsideWaco.com

Edited by - e3stone on 06 June 2001 07:43:40
Go to Top of Page

Ez4arab
Junior Member

479 Posts

Posted - 06 June 2001 :  07:51:33  Show Profile  Visit Ez4arab's Homepage
thanx



Go to Top of Page

Ez4arab
Junior Member

479 Posts

Posted - 07 June 2001 :  17:40:35  Show Profile  Visit Ez4arab's Homepage
hi
I do all steps correct but always show active members zero even I or my friend login
the code shows us as visitor

Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 07 June 2001 :  19:56:17  Show Profile
quote:

hi
I do all steps correct but always show active members zero even I or my friend login
the code shows us as visitor





If you have read the given thread carefully, you would see a post by Richard Kinser:

quote:

Posted - 10 January 2001 : 19:02:05
--------------------------------------------------------------------------------
In the code that you added to inc_top.asp

For this mod to work on v3.1 SR4 makes sure you are using strUniqueID instead of strCookieURL


' ******************************************************' ADD HERE WHAT YOU WANT THE PREFIX OF YOUR COOKIE TO BE' it will either be 'strCookieURL' or 'strUniqueID'strTempCookieType = strUniqueID' ******************************************************




So find this line and change it to strUniqueID.


Think Pink
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 07 June 2001 :  20:15:24  Show Profile  Send e3stone an AOL message
^^^ I was just about to post that

I bet that's the cause of your problem

<-- Eric -->


InsideWaco.com
Go to Top of Page

Ez4arab
Junior Member

479 Posts

Posted - 09 June 2001 :  05:30:34  Show Profile  Visit Ez4arab's Homepage
hi e3stone and bozden
i get code for vistor today i do all steps
i made file and give its name as global.asa

<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
Application("ActiveUsers") = 0
Application("TodaysDate") = Date
End Sub
Sub Session_OnStart
If Application("VisitorsToday") = "" then
Application("VisitorsToday") = 0
end if
Session.Timeout = 3 ' minutes
Session("Start") = Now
Application.Lock
Application("ActiveUsers") = Application("ActiveUsers") + 1
if Application("TodaysDate") = Date then
Application("VisitorsToday") = Application("VisitorsToday") + 1
else
Application("TodaysDate") = Date
Application("VisitorsToday") = 1
end if
Application.UnLock
End Sub
Sub Session_OnEnd
' Decrease the active visitors count when the session ends.
Application.Lock
Application("ActiveUsers") = Application("ActiveUsers") - 1
Application.UnLock
End Sub
</SCRIPT>

this is the code
and i add this code for show the Active Users and Visits Today
Active Users
in file inc_top.asp

<font color='white'><%=strOnlineMembersCount%></font> Visits now <font color='yellow'><%=strOnlineGuestsCount%></font><%Response.Write "<font size='-2'> Visits Today : <font color='red' size='-2'>" & Application("VisitorsToday") %>

but when i upload files. Visits Today does not show the Number

i hope to find solution for this pb

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07