Alright, I've been getting along pretty well so far here. Now I need an
extra feature though. Resolution Stats (i.e. 1024x768 or 800x600)
I've got an apache-1.3.24 server with mod_perl-1.26
running.
in my httpd.conf, I've added
PerlLogHandler P6M7G8::Stats::DBILog
Which I have already written.
* Philip M. Gollucci [EMAIL PROTECTED] [2002-03-27 09:59]:
I know perl is server side and javascript is client side.
AFAIK, getting the resolution is a client side thing. I know I
can embed an html page with javascript in it that redirects to
a perl file setting the query string with
But, I need to find someway to do this without the extra
redirect.
would be something along the lines of: have a javascript
enabled page that gets the height and width of the client (as
you've shown), that then redirects the client to a location
that can read the height and width from the
Hello,
FFCan you not just set a cookie from the javascript itself, rather than
FFhaving it redirect to a location which then has to read it from the
FFquery string and set the cookie. Saves you one step, if it's possible
FFto set the cookie directly from the javascript (which it seems like
Well I've basically taken your route the first time I tried to do this a
year ago. The other problem is that this requires the vistors go to
this particular page. If they bookmark to another page or type the url
of a sublink, this is bypassed, and I loose the statistical information.
My problem
* Philip M. Gollucci [EMAIL PROTECTED] [2002-03-27 10:38]:
Well I've basically taken your route the first time I tried to
do this a year ago. The other problem is that this requires
the vistors go to this particular page. If they bookmark to
another page or type the url of a sublink, this
On Wed, 27 Mar 2002, darren chamberlain wrote:
If you are using a PerlTransHandler anyway, you can have one that
sends the client to a particular page if a cookie is not set:
(a) Client requests /foo.html
(b) TransHandler sees that cookie is not set, does an internal
redirect to
be a big issue.
Wes
Philip M. Gollucci [EMAIL PROTECTED]
on 03/27/2002 05:40:47 AM
To: darren chamberlain [EMAIL PROTECTED]
cc: [EMAIL PROTECTED] (bcc: Wesley
Sheldahl/Lex/Lexmark)
Subject: Re: Apache+Modperl Website Statistics
Well I've basically taken your route the first time I