navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Session Variables

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Session Variables
Page: [1]
 
KeithG

 

Posts: 92
From: Irving TX Irving, Texas, USA
Status: offline

 
Session Variables - 4/4/2001 16:48:00   
Using server variables I am able to display on any page how many users are currently logged into the site. I have seen somewhere but now cannot find how to display who the online users are, ie. username or something to that effect. Anyone? Thanks.
Vince from Spain

 

Posts: 658
From: Madrid Spain
Status: offline

 
RE: Session Variables - 4/5/2001 20:30:00   
Hi Keith,
I may be wrong about this, but I think that ordinarily you can't get information about a users username. In theory, there is the server variable LOGON_USER, which you can access by Request.ServerVariables("LOGON_USER")
However, this is only set if anonymous access to your web is disabled, which it won't be for internet applications as the IUSR_machinename (anonymous) account is used by default for access. The LOGON_USER is very handy for intranet use if you were planning to use it in that environment.

All the best

Vince

------------------
Internet Business Solutions S.L.(Spain)


(in reply to KeithG)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Session Variables - 4/5/2001 20:54:00   
I did have a link, it was either aspcode.com, asp101.com or 15seconds.com

Obviously now I cant find it

But, you will only tell which users are on if you can perform a lookup of their name (via LOGON_USER or database lookup)

Otherwise, they will remain anonymous (but you can count how many)

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to KeithG)
markjlawrence

 

Posts: 119
From: Belfast Northern Ireland
Status: offline

 
RE: Session Variables - 4/6/2001 13:09:00   
Hi Keith,

I have a site administration page for checking database size, modifying and deleting records etc.

Being able to tell how many users are accessing my databases would be really handy for when I want to take them offline to make changes.

Any chance of a link to more info on this?

Thanks,

Mark.


(in reply to KeithG)
KeithG

 

Posts: 92
From: Irving TX Irving, Texas, USA
Status: offline

 
RE: Session Variables - 4/6/2001 15:06:00   
Mark

Are you using server variables? If so let me know and I will forward the code, it's quite simple. If you are not using server variables, it will take a little more work...

Keith


(in reply to KeithG)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Session Variables
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts