<> wrote in message
news:%...
> Ahhh ok...but should I not also include the user's logged in username in
the
> querystring?:
>
> <a href="out?site=http://someoneelse'ssite.com?username=John
Doe>BANNER</a>
>
> or
>
> <a href="out?site=http://co.za?vID=213>BANNER</A>
I wouldn't pass the username in the querystring, since you probably have
that available to you in a session variable, right?
There are many ways to do what you want to do, and I guess it all depends on
how involved you want it to be and what trade-offs you can live with. The
quick and dirty way is to just pass the url in the querystring, but in doing
that, you allow your users to see where you're sending them and go directly
there and bypass your "out.asp" file. So, instead of the URL, you could do:
out.asp?linkID=393, where that is the ID of a link in a database. But, for
one, then you have to develop the means to manage your links in a database
and add the little bit of overhead of retreiving the link from the database.
Also, if you have to work with a designer who uses Dreamweaver or something,
you'll have to make a "generate an ""Out Link"" for me to paste into the
href box in Dreamweaver" or something like that. Either that, or designer
will need to know how to get the link ID he wants.
The advantage to doing it this way is that you can much more reliably track
where your visitors are going when they leave through your "out.asp" page.
And you can also worry less about people just pasting in the href that
you're trying to send them to when they see it in the status bar. It all
depends on what results you want, I suppose.
> 1. I would be able to read my Surfstats/webtrends reporting at the end of
> each mnth and see that http://someonesles'ssite.com?username=John Doe
(John
> Doe) visited that site x number of times vai the urls...is this approach
> acceptable or would a database be more elegant.....
I guess that also depends on your environment. It would make reporting
easier to keep it all in Webtrends instead creating a second place you have
to go for data!
> 2. What about the Ad Banner component found in ASP...could this also work?
IIRC, all that does is put in some random banners based on some parameters
you put in a text file. That wouldn't track your out-bound traffic in any
way. But, you could use it if you want your links out to vary with each
page load.
Ray at home