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

  New Posts New Posts RSS Feed - Active User’s Time
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Active User’s Time

 Post Reply Post Reply
Author
13579 View Drop Down
Newbie
Newbie


Joined: 09 September 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote 13579 Quote  Post ReplyReply Direct Link To This Post Topic: Active User’s Time
    Posted: 12 October 2005 at 9:34am
Hi;
 I want ot ask how can i change active user's time instead of 10 minutes to example 30 minutes or 3 minutes?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: 12 October 2005 at 9:47am
you need to edit the include file within the includes folder called active_useres_inc.asp an change the part that calculates the time (10 minutes)
Back to Top
13579 View Drop Down
Newbie
Newbie


Joined: 09 September 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote 13579 Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2005 at 10:50am
Is that line this?:

If saryActiveUsers(4, intArrayPass) < (CDbl(Now()-
6.95000000167871E-03)) OR intActiveUsersDblArrayPos = intArrayPass
Then




So if this; What does it means 6.95000000167871E-03???
And what is 30 minutes value?
Thanks....
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: 12 October 2005 at 11:11am
yes thats 10 minutes, in respect to a days value ie 6.95000000167871E-03 is 10 mins in a day.

you would have to find out the value for 30 minutes or could change the iffstatement to do a

value = dateDiff("n", saryActiveUsers(4, intArrayPass), now())

if value > 30 then


Back to Top
 Post Reply Post Reply

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.