Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 13th, 2010, 07:13 AM
Registered User
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default session count and crawling request

hi friends

how to count active session.

i have read few post that explains about incrementing an
application variable on session start and decrement it on session end

Sub Session_OnStart
End Sub

Sub Session_OnEnd
End Sub
but what if the google/yahoo/bing bot visit the site.

so i should think of checking the HTTP_USER_AGENT
and do the increment if the request is not from a crawler.

then problem is how to i decrement while the session end. can we check
which session is ended. like is the bot session or is it the actual visitors session that ends. how do you do this?


Last edited by neontwenty; November 13th, 2010 at 09:08 AM..
Reply With Quote
  #2 (permalink)  
Old November 14th, 2010, 01:01 AM
Friend of Wrox
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Want open source for crawling website with PHP Snowby PHP How-To 3 June 5th, 2008 01:57 PM
Tomcat - Creates New Session for every request IE6 vickyk_in Apache Tomcat 1 March 27th, 2007 10:41 PM
New session gets created for every request. sasikanth Classic ASP Professional 0 September 26th, 2005 10:30 AM
Session Listener Fires On Every Request bwinspur Apache Tomcat 1 October 24th, 2004 11:58 PM
How count session connected to web ? glezmart ASP.NET 1.0 and 1.1 Professional 12 January 16th, 2004 04:30 PM

All times are GMT -4. The time now is 01:30 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.