|
|
 |
Re: FN-FORUM ASP Question
date posted 1st February 2002 19:28
Hi Dave,
IIS By default times out after 20 minutes - so if the users are on a page
for longer than that - it'll assume they are a new user when they click on a
link.
A way around this would be to use a cookie on the client PC - although not
always recommended.
HTH,
Rgds,
Carl.
----- Original Message -----
From: "David McEwen" [EMAIL REMOVED]
To: "FN-FORUM" [EMAIL REMOVED]
Sent: Friday, February 01, 2002 6:57 PM
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]
>
|
 |
|