|
|
 |
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]
|
 |
|