471,086 Members | 1,073 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

Checking for ASP Session IDs

Is there a way to query a webserver to see how many, and which, ASP Session
ID numbers are still current? (ie: not expired).

I'm working on a way to track active Website visitors & wish to compare a
Log of Session ID's against those that the Server would recognise as still
active.

Any help would be appreciated.
Andrew

Jul 19 '05 #1
6 2172
If the sessions exist, they're considered active, no?

Ray at work

"Andrew" <a.*********@lowery.co.uk> wrote in message
news:O7**************@TK2MSFTNGP11.phx.gbl...
Is there a way to query a webserver to see how many, and which, ASP Session ID numbers are still current? (ie: not expired).

I'm working on a way to track active Website visitors & wish to compare a
Log of Session ID's against those that the Server would recognise as still
active.

Any help would be appreciated.
Andrew

Jul 19 '05 #2
Yes thats very true but I'm looking to get a 'list' of Session ID's that are
active. So far I've only been able to read Session info from within that
active Session.

Is there a way to 'see' these active sessions on the server? Maybe a log
etc..?

Andrew
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eq**************@TK2MSFTNGP10.phx.gbl...
If the sessions exist, they're considered active, no?

Ray at work

"Andrew" <a.*********@lowery.co.uk> wrote in message
news:O7**************@TK2MSFTNGP11.phx.gbl...
Is there a way to query a webserver to see how many, and which, ASP

Session
ID numbers are still current? (ie: not expired).

I'm working on a way to track active Website visitors & wish to compare a Log of Session ID's against those that the Server would recognise as still active.

Any help would be appreciated.
Andrew


Jul 19 '05 #3

"Andrew" <a.*********@lowery.co.uk> wrote in message
news:O7**************@TK2MSFTNGP09.phx.gbl...

Is there a way to 'see' these active sessions on the server? Maybe a log
etc..?

Andrew


AFAIK, no. Can someone confirm?

Ray at work
Jul 19 '05 #4
Performance monitor can track how many asp sessions are active but you
cannot get the session ids or see "into" any of the sessions.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...

"Andrew" <a.*********@lowery.co.uk> wrote in message
news:O7**************@TK2MSFTNGP09.phx.gbl...

Is there a way to 'see' these active sessions on the server? Maybe a log
etc..?

Andrew


AFAIK, no. Can someone confirm?

Ray at work

Jul 19 '05 #5
You can write them to a database and timestamp them (every time a page is
requested write the Session and current date/time). This will give you some
data to play with. Then for any session id, at any given time you can
compare the last timestamp to that time + the Session Timeout setting to see
if that session has expired. Still not completely accurate though...
"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
Performance monitor can track how many asp sessions are active but you
cannot get the session ids or see "into" any of the sessions.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...

"Andrew" <a.*********@lowery.co.uk> wrote in message
news:O7**************@TK2MSFTNGP09.phx.gbl...

Is there a way to 'see' these active sessions on the server? Maybe a log etc..?

Andrew


AFAIK, no. Can someone confirm?

Ray at work


Jul 19 '05 #6
...."every time a page is requested write the Session" - should be "Session
ID"

[stupid Outlook spell checker !]
"Mike Florio" <mi**@micro-point.com> wrote in message
news:vo************@corp.supernews.com...
You can write them to a database and timestamp them (every time a page is
requested write the Session and current date/time). This will give you some data to play with. Then for any session id, at any given time you can
compare the last timestamp to that time + the Session Timeout setting to see if that session has expired. Still not completely accurate though...
"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
Performance monitor can track how many asp sessions are active but you
cannot get the session ids or see "into" any of the sessions.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...

"Andrew" <a.*********@lowery.co.uk> wrote in message
news:O7**************@TK2MSFTNGP09.phx.gbl...

>
> Is there a way to 'see' these active sessions on the server? Maybe a log > etc..?
>
> Andrew

AFAIK, no. Can someone confirm?

Ray at work



Jul 19 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by Domestos | last post: by
3 posts views Thread by Phil Lamey | last post: by
2 posts views Thread by tshad | last post: by
4 posts views Thread by Jeff | last post: by
Bob Ross
4 posts views Thread by Bob Ross | last post: by
2 posts views Thread by momogi | last post: by
1 post views Thread by =?Utf-8?B?V2FubmFiZQ==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.