/    Sign up×
Community /Pin to ProfileBookmark

Is there a way to see asp sessions that are still connected.

to post a comment

4 Comments(s)

Copy linkTweet thisAlerts:
@_lt_Eddie_gt_Apr 11.2006 — If you hold a value in the session, then look for the value on the next server request. That's about as good as it gets. If this causes usability or functionality problems then maybe consider cookies to persist information or even extend the period the session is held for.
Copy linkTweet thisAlerts:
@nbcrockettauthorApr 11.2006 — My site updates a database with a new entry every time they visit a page. So I can track them that way like you suggested, but I want to be able to see if they're just sitting there with their browser open or if they closed the window down and ended the session.
Copy linkTweet thisAlerts:
@_lt_Eddie_gt_Apr 11.2006 — I know what you're saying but the web just doesn't work like that. The only way I can think of is running an application on the server to poll the users activity or perhaps employ an Applet or ActiveX control. This is an extreme overhead though. The web isn't capable of push technology using ASP; it's the client that requests.

Is this some database cleanup function you're wishing to employ? Perhaps the reason for the need to know client activity at that level could provide us with potential solutions to this requirement.
Copy linkTweet thisAlerts:
@nbcrockettauthorApr 11.2006 — It's not something that I have to have. It would just be useful to be able to see if anyone is still on there so that I can put the site under construction and get into the database. I'm also just curious to see how people are using our new site.
×

Success!

Help @nbcrockett spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 11.14,
social: @webDeveloperHQ,
});

legal: ({
terms: of use,
privacy: policy
analytics: Fullres
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: Anonymous,
tipped: article
amount: 1000 SATS,

tipper: @aldoushuxley,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 1000 SATS,
)...