Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM ASP Question

date posted 1st February 2002 19:38

Hi Dave,
Along with the comments from Norman what you could also do is create a
cookie, with the users details and then interrogate that when the user
revisits the site After a time out! You would have to set the cookie expiry
details to what ever period you wanted to count users as discrete visitors.
Alternatively just set a large timeout on the session object BUT just be
aware that session objects affect performance.

Mark Anderson
01202 775483
07802 404838 mob
Web Development and database design
[EMAIL REMOVED]
http://www.anderson.uk.com



-----Original Message-----
From: [EMAIL REMOVED]
[EMAIL REMOVED] Behalf Of David McEwen
Sent: 01 February 2002 18:58
To: FN-FORUM
Subject: FN-FORUM ASP Question


Hello all

To track visitors on a web site, I'm assigning a sequential number to each
visitor as they arrive and writing it using

If Len(Session("Ticket")) = 0 Then Session("Ticket") = GetTicketNumber()

GetTicketNumber is a function that gets the next number in the sequence.

This appears to work OK most of the time, but sometimes I'm getting users
who are being assigned a new ticket while already in the site. The reason I
know this is that I record the referrer in a database and I'm getting the
different pages of the site listed as the referrer.

So basically, it would appear that the user is losing the variable, but as
I'm not utterly familiar with session variables, I was wondering if anyone
can tell me where I'm going wrong. I've just read in a VBScript book that
it may be something to do with timeouts but I can't find any more info about
that.

Thanks in advance

Dave



============================================================================
==
= Calling OLD HIPPIES!!! Get your old college work on show at:
=
= http://www.STUDENTSART.com where we print your work and you get royalties!
=
= ** A FREE SERVICE ** set up by students - for students.
=
============================================================================
==

Sponsor the forum for as little as £1 at:

http://www.freelancers.net/cgi/sponsor.cgi?action=show


Freelancers and Freelance Jobs:
http://www.freelancers.net

Forum FAQs:
http://freelancers.netrickery.com

To unsubscribe please email:
[EMAIL REMOVED]

If you have difficulties unsubscribing please email:
[EMAIL REMOVED]



Messages by Day
February 28th 2002
February 27th 2002
February 26th 2002
February 25th 2002
February 24th 2002
February 23rd 2002
February 22nd 2002
February 21st 2002
February 20th 2002
February 19th 2002
February 18th 2002
February 17th 2002
February 16th 2002
February 15th 2002
February 14th 2002
February 13th 2002
February 12th 2002
February 11th 2002
February 10th 2002
February 9th 2002
February 8th 2002
February 7th 2002
February 6th 2002
February 5th 2002
February 4th 2002
February 3rd 2002
February 2nd 2002
February 1st 2002


Messages by Month
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002


Messages by Year
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000