Wrox Programmer Forums
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2005, 08:58 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default number of logon_user

Hi,

How can find the number of user logon on intranet asp page ?


servervariables("logon_user") return the logon_user id
how can find at this time how many users are logon / Accessing
the asp page ?


userid = Request.ServerVariables("logon_user")
Response.Write(userid)

our intranet 200 users access the information.
every day half user access the intranet informations
I have to find which users access the intranet ?

regards.

Mateen


 
Old September 6th, 2005, 11:23 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Have an application variable and in the global.asa onsessionstart you increment it, onsessionend you decrement it.

--

Joe (Microsoft MVP - XML)
 
Old September 6th, 2005, 11:16 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for response.

How application variable in global.asa onsessionstart increment
, onsessionend decrement will use ?

Please explain

regards.

Mateen


 
Old September 7th, 2005, 02:03 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

http://www.asp101.com/resources/apps_sessions_gasa.asp

When someone replies to a post and there are a number of key words you can often find out more by searching for those terms on google or a similar search engine.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation For Phone Number and Mobile Number dhruthi.ram99 Javascript How-To 12 October 30th, 2011 07:24 AM
Smallest number darkhalf Javascript 4 January 12th, 2006 05:07 AM
Number Validation ben805 Access VBA 0 December 5th, 2005 04:06 PM
number? crmpicco Classic ASP Basics 2 June 10th, 2005 05:14 AM
Clearing a LOGON_USER kgould Classic ASP Basics 0 February 10th, 2005 10:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.