Thomas Hilbig wrote:
I am in the process of changing my cookies (stored on my users’
browsers) so they can be shared across multiple servers under my
domain. So, instead of writing cookies with domain
‘www.mydomain.com’, I am writing them to ‘.mydomain.com’ so they can
be read by
I am in the process of changing my cookies (stored on my users’ browsers) so
they can be shared across multiple servers under my domain. So, instead of
writing cookies with domain ‘www.mydomain.com’, I am writing them to
‘.mydomain.com’ so they can be read by www.mydomain.com, www2
t;
wrote:
> Whatever problem this is, it isn't a Perl problem.
> Your CGI script neither
> reads nor writes files on the client PC; the browser
> handles all that.
> Sounds like your friend's browser is broken? Or
> perhaps he has cookies
> disabled, in whi
Denzil Kruse wrote:
Well, this is what I witnessed. I'm using a windows
computer at home. It is configured to display hidden
files. I have a red hat linux server off who knows
where that hosts my site.
I set up a perl script to set and fetch cookies, and
it does so correctly on my com
browser will only return the
cookie to servers on the host the cookie originated
from." Which is what I want I think?
> 3. On which machine, you are testing? Your Windows
> (localhost) or a real web
> server?. I have always experienced problems locating
> cookies for my
> loca
Well, this is what I witnessed. I'm using a windows
computer at home. It is configured to display hidden
files. I have a red hat linux server off who knows
where that hosts my site.
I set up a perl script to set and fetch cookies, and
it does so correctly on my computer. But, I went over
1. Are we setting up the proper headers?
use CGI;
my $q = new CGI;
print $q->header(-cookie=>$cookie);
2. I am unable to see the
-domain => 'foo.com';
3. On which machine, you are testing? Your Windows (localhost) or a real web
server?. I have always experienced proble
7;,
>-value=>"$name",
>-expires=>'+6M');
>
> But, I've found out that when IE creates the cookie,
> it creates it as a hidden file, so when I come around
> and fetch it, it can't find the cookie and hangs.
>
>
ound out that when IE creates the cookie,
it creates it as a hidden file, so when I come around
and fetch it, it can't find the cookie and hangs.
But, I saw some cookies that weren't hidden. The list
just got bigger once I told windows to how hidden
files.
So, my question is, how can
okie is set, and my
> program behaves as it is supposed to. When I decide
> to clear it, I do it and display a form which will
> recreate the cookie once the form is filled out and
> the submit button is pushed.
>
> So it clears the cookie and displays the form. I
> look
>
rm is filled out and
the submit button is pushed.
So it clears the cookie and displays the form. I look
under C:\Documents and Settings\Owner\Cookies on my
local computet running the browser, and I see the
cookie disappear. But when I press the button on the
form once, the browser behaves as i
--- [EMAIL PROTECTED] wrote:
> can you give a syntax example?
Here is a piece of what I'm doing:
if ($clear_cookie eq 'yes') {
my %cookies = fetch CGI::Cookie;
if ($cookies{'id'}) {
--- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
> Denzil Kruse wrote:
>
> To clear the cookie in the user's client (browser)
> you have to "set" the
> cookie again by printing it in the response headers.
> You are only
> setting the local expiration, to have that
> maintained across the rest
Denzil Kruse wrote:
> Hi all,
>
> I'm trying to clear a cookie using CGI::Cookies, and
> can't seem to do it :(
>
> if ($clear_cookie eq 'yes') {
>
> my %cookies = fetch CGI::Cookie;
>
> print "getting cookie";
>
>
Hi all,
I'm trying to clear a cookie using CGI::Cookies, and
can't seem to do it :(
if ($clear_cookie eq 'yes') {
my %cookies = fetch CGI::Cookie;
print "getting cookie";
if ($cookies{'id'}) {
print "clearing co
espace. I know that this code
writes cookies. But, I cannot seem to modify the properties of an existing
cookie.
use strict;
use CGI qw/:standard/;
use CGI::Cookie;
my $name = 'Johnny';
my $cookie = GetCookie($name);
if ($cookie)
{
# Set the 'expires' attribute
ld.
For exemple, don't use as hidden fields autoincreasing numbers but always
use random strings.
>
>
> Someone recommend that I don't persist cookies. How do I not persist
> cookies?
>
>
>
Don't put an expiration date and they will not be persistent.
Teddy
verything passing over it, including
cookies and hidden fields, is encrypted, or not if SSL is not employed.
I like the pipe analogy, think of everything that goes from the
browser to the server (and since both cookies and hidden fields are
client side until the client calls to the server) as travel
of
any consequence?
Someone recommend that I don't persist cookies. How do I not persist
cookies?
Thanks,
Siegfried
Andrew Gaffney wrote:
Is there a way to use redirect() *and* set cookies like with header()?
Nevermind, I just added "-status=>'302 Found',
-Location=>'http://somesite.com/somepage.html'" to my header() call.
--
Andrew Gaffney
Network Administrator
Skyline
Is there a way to use redirect() *and* set cookies like with header()?
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn
After months of trouble free operation, a shopping cart I wrote is
having cookie trouble with browsers in Israel. I'm setting cookies using
CGI.pm in the standard way.
I'm assuming that folks in Israel may not use iso-8859-1. Has anyone had
problems with cookies not being read when en
I'm not a guru... ;-P
But I was in a similar situation some months ago.
First of all I would tell Alejandro not to send Username-Password with the
cookie, but a Session ID, but I arrived late.
There are two modules (at least I only know them) to handle "sessions" with
cookies.
Thanks. I will try that.
Alex
-Original Message-
From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 20, 2003 7:24 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Cookies
Alejandro Chavarria - CyPage wrote:
> Thanks for your reply Wiggins d
essage-
From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 6:17 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Cookies
On Wed, 17 Sep 2003 20:33:00 -0800, "Alejandro Chavarria - CyPage"
tc. Basically stuff I don't want other
> people to be able to do. I have decided that cookies is the best way to go.
> I've been looking and looking on the internet for a way to add a "logout"
> button in the script that will delete the cookie that has the username a
Hey,
I have a script and I want to allow an administrator log on to it. Once
logged in they can change things... etc. Basically stuff I don't want other
people to be able to do. I have decided that cookies is the best way to go.
I've been looking and looking on the internet for a wa
"Andrew Brosnan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Anyone having trouble setting or retrieving cookies with CGI.pm and IE7?
>
> I'm doing:
> my $cookie = $q->cookie( -name=> 'session',
Andrew Brosnan wrote:
Anyone having trouble setting or retrieving cookies with CGI.pm and IE7?
I'm doing:
my $cookie = $q->cookie( -name=> 'session',
-value => $session,
-expires => '3h',
Anyone having trouble setting or retrieving cookies with CGI.pm and IE7?
I'm doing:
my $cookie = $q->cookie( -name=> 'session',
-value => $session,
-expires => '3h',
print $q->
Dennis Stout wrote:
> Is there any difference in setting cookies between operating under
> just general CGI and when using an Apache webserver and mod_perl?
By "general CGI", if you mean mod_cgi, then no, there is no difference.
>
> I got a program I'm writing that gen
Dennis Stout wrote:
Is there any difference in setting cookies between operating under just
general CGI and when using an Apache webserver and mod_perl?
I got a program I'm writing that generates every page it dishes out on the
fly, dynamically.
If I can stay away from doing a use CGI;, I
Is there any difference in setting cookies between operating under just
general CGI and when using an Apache webserver and mod_perl?
I got a program I'm writing that generates every page it dishes out on the
fly, dynamically.
If I can stay away from doing a use CGI;, I would love to.
T
CTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 09, 2003 4:51 AM
Subject: function/module to check if visitors have their cookies enabled
Hi I'm looking for a function/module to check if visitors have their cookies
enabled when they come to my site.
I think that there might all-
>cookie('test');
if ($cookie) {
print "ok";
#they have my cookie!
}
else{
#no cookie...tell them to enable cookies
print "not ok";
}
=== At 2003-06-06, 21:44:00 you wrote: ===
>what I wrote was perl; just suggesting javascript si
What sometimes helps me is this... Add a domain.
-domain => '.some.com',
--- Ahrent <[EMAIL PROTECTED]> wrote:
> Hi Im looking for a function/module to check if
> visitors have their cookies enabled when they come
> to my site.
> I think that there might all-rea
On 3/9/03 at 2:51 AM, [EMAIL PROTECTED] (Ahrent) wrote:
> Hi Iím looking for a function/module to check if visitors have their
> cookies enabled when they come to my site.
A little Javascript may be better for your purpose; but consider:
use CGI;
my $q = new CGI;
my $cooki
Hi Im looking for a function/module to check if visitors have their cookies enabled
when they come to my site.
I think that there might all-ready might be a module for this, but I havent been
able to locate it.
I have so for been trying work around the problem myself with something like this
"Wiggins D'Anconia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hytham Shehab wrote:
> > hi guys,
> > i have multiple domain names - etc multiple sites - that i would
like to
> > share cookies inbetween, how can i - literally -
Hytham Shehab wrote:
hi guys,
i have multiple domain names - etc multiple sites - that i would like to
share cookies inbetween, how can i - literally - do that, and is it enough
to use HTTP::Cookies !?
Mostly you can't, which is why I suppose the list has been so quiet.
This is a sec
hi guys,
i have multiple domain names - etc multiple sites - that i would like to
share cookies inbetween, how can i - literally - do that, and is it enough
to use HTTP::Cookies !?
thx 4 help
--
Hytham Shehab
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
> Hello all,
>
> Can anyone point me to some good doc on how to
> create/read/delete cookies?
>
> Thanks!
>
Hi Stephen
I am new to cookies as well and recently posted a question like this. Here
is what I found helpful:
Here's a good overview:
http://wp.netscape.com/ne
Hello all,
Can anyone point me to some good doc on how to
create/read/delete cookies?
Thanks!
-Stephen Spalding
__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
--
To unsubscribe, e-mail: [
On Sunday, Feb 16, 2003, at 21:54 US/Pacific, uma ramdoss wrote:
[..]
why
when it sends the request to the original server, it
sends connection :close header. why is it so.
[..]
I think that is the 'default' - unless you
expressly ask for
Connection: keep-alive
to request that the connectio
hai all,
i tested the folowing proxy.pl prg.
my browser displays cookies not set error. why
when it sends the request to the original server, it
sends connection :close header. why is it so.
Thanks
use strict;
use HTTP::Daemon;
use LWP::UserAgent;
use HTTP::Request;
my($CRLF)="\01
This is how I did it.
if ( @loginfo = CGI::cookie('mspplog') ) {
$user_name = $loginfo[0];
$password = $loginfo[1];
$checkPassword = 'true';
}
On Friday 07 February 2003 08:07 am, Kipp, James wrote:
> > All am I am trying to do now is have a user enter his/her
> > name in a
> All am I am trying to do now is have a user enter his/her
> name in a form and have that saved to a cookie, so when they
> return, they will get something like " Your juser, please
> proceed" . I took the example here:
> http://stein.cshl.org/WWW/CGI/examples/cookie.cgi
>
> Below is the co
illa (thank god).
http://danconia.org
Peter Kappus wrote:
AFAIK, browsers will only send cookies back to the domain that set them. So
this may not be possible without some sneakerylike somehow spoofing the
hostname, etc. It may also be possible if all the domains resolve to the
same IP...bu
AFAIK, browsers will only send cookies back to the domain that set them. So
this may not be possible without some sneakerylike somehow spoofing the
hostname, etc. It may also be possible if all the domains resolve to the
same IP...but even then I'm not sure how you could do it...
good
Hi all,
I want to create a script that sets a cookie that will be returned by the
visitor's browser when they will visit more domains like:
www.mamajob.net
www.mamashop.net
www.mamabay.net
.. etc.
Is it possible?
If yes, how can I set more domains for a cookie?
Thank you.
Teddy,
Teddy's Cente
Hi
How do I set two cookies, from two different scripts, same domain?
I tried with different names for cookies as follows and I lose'em
Script1.cgi has the following code:
my $ct = &rnd_num;# random
number generator
use CG
it into Hex.
>
>$ENV{'SERVER_NAME'};
>$ENV{'HTTP_REFERER'};
>$ENV{'REMOTE_ADDR'};
>
>
> In the discussions on cookies does any one know why when I set a
> cookie and
>restart some time later my cookies are lost when I do the foll
s
anyone know why? I want to use the IP address to ensure that some of the
code is only called from my site or from a valid IP address. I want the IP
address and not the URL so I can convert it into Hex.
$ENV{'SERVER_NAME'};
$ENV{'HTTP_REFERER'};
$ENV{'REMOTE_ADDR'}
Luiz Chamberline Maturana
> Enviada em: quarta-feira, 2 de outubro de 2002 12:38
> Para: 'Robin Cragg'; 'aman cgiperl'; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Assunto: RES: cookies
>
> I use the line:
>
> pr
TECTED]>
Sent: Wednesday, October 02, 2002 11:04 AM
Subject: RE: cookies
> Hi Aman,
>
> I've had exactly the same problem. I strongly suspect it's an IE thing.
> I've not found a way round it other than looking at the HTTP_REFERER and
> removing cookies from pag
I use the line:
print "Content-type: text/html\\nSet-Cookie: PS=$PS;\\n\\n";
and it works well.
[]´s
Ricardo
Hi Aman,
I've had exactly the same problem. I strongly suspect it's an IE thing.
I've not found a way round it other than looking at the HTTP_REFERER and
removing cookies from pages that had not come from my site.
R
-Original Message-
From: aman cgiperl [mailto:[
On Wednesday, October 2, 2002, at 08:26 AM, aman cgiperl wrote:
> I am not using CGI.pm
I don't mean to be offensive here, but why would you not use a standard
Perl module that's only purpose is to make coding CGI easier?!
James
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Hi all
I need to set a cookie which expires when the browser is closed.
I am not using CGI.pm
My earlier query for the same for responded by telling that if I am using
CGI.pm, I can do so by omitting the expiry date, but if I do so, when I do
print "Set-Cookie: cart=$cart domain=.domain.com\n";
of your script would be much more helpful.
You might also considering using a library to handle cookies for you,
such as the CGI module, or the many free variants. These will lessen
the amount you have to know about HTTP and make sure you cover your bases.
http://danconia.org
Jerry Lawson
I'm having trouble sending a cookie. The book I have says to send a
cookie the code 'print "Set-Cookie:name=value\n";' will work. When I
implement this code in my script, the cookie is not being set. Can
someone tell me what I am doing wrong?
Thanks,
Jerry Lawson
--
To unsubscribe, e-mail:
--- Alex Agerholm <[EMAIL PROTECTED]> wrote:
> Hi Curtis,
>
> Thanks for your help, I am actually on IIS so you have saved me a lot of
> troubles.
> Do you know how to work around this ?
> >From the microsoft article below it seems like running in nph mode should
> solve it but redirect(-uri => x
not solve it and neither does using the -nph pragma in the the use CGI line.
Regards
Alex
-Original Message-
From: Ovid [mailto:[EMAIL PROTECTED]]
Sent: 1. september 2002 03:17
To: Alex Agerholm; [EMAIL PROTECTED]
Subject: Re: Redirect and cookies
> I have made a login system and wh
> I have made a login system and when the user has logged in correctly I set a
> cookie and redirects the user to the first page.
> But on all pages (including the first one) I make a check to see if the user
> is logged in based on the cookie.
>
> When I redirect from the login page to the first
my xxx.cgi script does not
> get the cookie. What can I do to fix this ?
>
> Regards
> Alex
>
Are you sure your client is configured to accept cookies?
If not, you could give user an informative message about that, and start
using the URL (since the cookies are disabled).
> -Original Message-
> From: Alex Agerholm [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 30, 2002 5:01 AM
> To: [EMAIL PROTECTED]
> Subject: Redirect and cookies
>
>
> Hi all,
>
> I have a problem with redirect.
> I have made a login syste
On Fri, 30 Aug 2002 11:01:08 +0200, [EMAIL PROTECTED] (Alex Agerholm)
wrote:
>Hi all,
>
>I have a problem with redirect.
>I have made a login system and when the user has logged in correctly I set a
>cookie and redirects the user to the first page.
>But on all pages (including the first one) I ma
Hi all,
I have a problem with redirect.
I have made a login system and when the user has logged in correctly I set a
cookie and redirects the user to the first page.
But on all pages (including the first one) I make a check to see if the user
is logged in based on the cookie.
When I redirect fro
Is the cookie being generated by the SHTML page or by a Perl script?
John Pitchko
Data Services
Saskatchewan Government Insurance
>>> "Octavian Rasnita" <[EMAIL PROTECTED]> 08/19/02 12:03pm >>>
Hi all,
I have an SHTML file and I want to set cookies for it.
The way I understand things, cookies must be printed before the header
is returned (though this may have changed in HTTP/1.1, anyone?) In which
case setting a cookie from within an SSI non-javascript is not possible.
A cookie is just specifically formatted text being printed before the
Hi all,
I have an SHTML file and I want to set cookies for it.
Is this possible?
I've tried to use server side includes to set a cookie using that script
used as SSI but it doesn't set the cookie.
The script sets the cookie if it is not included in an html file, but if it
is, it do
r
>I should enable my browser to accept cookies.
>
>What should I do to make LWP to accept cookies?
>Is it possible with LWP::Simple, or I should use LWP::UserAgent?
This is from a LWP howto at perlmonks.org, a great resource.
If you want to do several requests, of which the first s
Hi all,
I've tried to get a web page with the following line:
use LWP::Simple;
my $page = get($path);
The problem is that LWP gets another page telling me that I should login or
I should enable my browser to accept cookies.
What should I do to make LWP to accept cookies?
Is it possible
The URL to the code:
http://kleo.net/cookie2.txt
Hi Everybody,
I've been moitoring the list for a little while and trying to learn a little something
about Perl. I finally got my site to spit out a cookie using some example code I got
out of a book that I altered (my own code bombed)
What I find curious is a series of 4 numbers appended to
You're right, I didn't test before I posted.
>"Teresa Raymond" <[EMAIL PROTECTED]> wrote in message
>news:p05100301b8de2cf961a1@[67.36.181.234]...
>> What I've done is:
>>
>> 1) have login page w/ hidden input name="formname" w/ some value leads to
>> 2) cgi prog that cks that formname eq "som
"Teresa Raymond" <[EMAIL PROTECTED]> wrote in message
news:p05100301b8de2cf961a1@[67.36.181.234]...
> What I've done is:
>
> 1) have login page w/ hidden input name="formname" w/ some value leads to
> 2) cgi prog that cks that formname eq "some value" and the username &
> password1 and password2
at will do what I
>want (see below). HTTP Basic Authentication doesn't provide for
>explicit log-out. I'd rather not use cookies so users behind proxies
>won't have trouble with this site.
>
>Can anyone tell me:
>A. can it be done securely w/o huge program, incredib
heir
username and password. it also means that there won't be a 'logout'
link; the user will have to close their browser to 'log out'. there are
several cpan modules that can be customized to use html login forms,
complete with a logout method, but, unless i'm mist
Folks,
A basic question about implementing user authentication by means of
CGI (and Perl if recommended):
I haven't found a script online or in a book that will do what I want
(see below). HTTP Basic Authentication doesn't provide for explicit
log-out. I'd rather not use c
Here's a sample CGI/Cookies script, originally taken from perlmonks (cLive).
Notice you don't need CGI::Cookie. You may need to refresh once to see the
set cookies. And don't tell my wife about the redheads thing, she's a
brunette. :)
#!/usr/bin/perl-w
use strict;
us
gi_course/appendices/appendix1.html#D
>
> > -Original Message-
> > From: Matthew Harrison [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 12, 2002 10:42 AM
> > To: [EMAIL PROTECTED]
> > Subject: nearly got the cookies
> >
> >
> > I have
I have manager to set a cookie containing a hash of 4 keys and 4 values.
This is the script i have to retrieve the cookies and modify the look of
the page using them. i have constructed it using bit frmo www.perldoc.org.
it keeps saying it cannot run because of something in the way i am
On Tue, 12 Mar 2002, Matthew Harrison wrote:
> #!/usr/bin/perl
>
> use CGI qw/:standard/;
> $q = new CGI;
> print header();
>
> $cookie = $q->cookie(-name=>'fontsize',
> -value=>'12',
> -expires=>'20s',
Matt:
You must print the output of CGI.pm to ST
>>>>> "Matthew" == Matthew Harrison <[EMAIL PROTECTED]> writes:
Matthew> can someone show me an example of setting and retrieving a cookie using
Matthew> CGI.pm. I have tried the following but it won't set a cookie. I have my
Matthew> browser set
can someone show me an example of setting and retrieving a cookie using
CGI.pm. I have tried the following but it won't set a cookie. I have my
browser set to ask me whether i want to allow the cookies, and the script
doesn't ask me:
#!/usr/bin/perl
use CGI qw/:standard/;
$q = new
the privacy setting aren't the problem. my browser is set to allow cookies
and set to as before accepting them so i can tell if the cookie sets
properly. it must be something with the script.
On Monday 11 Mar 2002 10:08 pm, you wrote:
> No, the script can't correct your privacy se
i have checked and it does as for cookies on my webmail at the same server.
also, i have cleared my list of whether to accept/deny cookies from various
sites.
is the script itself correct to set a cookie? (just have to check :)
On Monday 11 Mar 2002 9:54 pm, you wrote:
> It's cause the
Ok, now i am pretty sure what i have done is right because i copied it from
a book, but I don;t know if it is right to set or retrieve a cookie. here
is my script that should set a cookie, allowing visitors to customise the
look of my site:
#!/usr/bin/perl
use CGI qw/:standard/;
$q = new CGI;
On Wed, 27 Feb 2002, Octavian Rasnita wrote:
> I want to set a cookie in a Perl script only for the current session, and I
> don't need that cookie after the visitor closes the browser.
>
> Can I use this kind of cookie if the user has deactivated cookies in her
> browser?
&g
Hi all,
I want to set a cookie in a Perl script only for the current session, and I
don't need that cookie after the visitor closes the browser.
Can I use this kind of cookie if the user has deactivated cookies in her
browser?
I can't test this on my localhost, because even if I d
Perl Listers,
I'm unable to retrieve cookies once I set them! I
can see my html headers on my page once they are set,
along with the page, but when I move out to another
page, I'm not able to retrieve them, in the new cgi
script. My script is complaining "Can't call
Hi all,
I just made a script which set cookies, and it works fine.
But I tried to disable the cookies from my machine and if I open that page
which set cookies, they are still set and read, even they are disabled.
Do you have any idea why?
Can't I disable the cookie for a local HTML doc
Polikarpov Cyrill wrote:
> I'm working whith perl but I don't know how to work whith cookies. Give
> me please some tips for this one ...
A good start would probably be to read the documentation of
HTTP::Cookies
perldoc HTTP::Cookies
or
http://search.cpan.org/doc/GAAS/libw
Hi everybody!
I'm working whith perl but I don't know how to work whith cookies. Give me please some
tips for this one ...
Thanks :)
--
WBR,
Cyrill S. Polikarpov
[EMAIL PROTECTED]
If a script is being called as a Server Side Include, is it still possible
to set and read cookies from within the script? Problem I am running into is
that the header of the main html is read before my script, so no cookies are
set by using print header (-cookie => $session_cookie).
R.A. How
In short, I'm using a perl script to set a cookie, and Netscape Navigator
isn't seeing it.
It sets cookies o.k. on a '.com' webserver, but not on my localhost.
I'm running RedHat 7.2 with apache installed.
Viewing http://localhost in Netscape works, as does running sc
Need some help. I am looking at using cookies.
For some of the things that I need to do I think that it will make my life
easier.
I also HAVE to use CGI qw(:cgi-lib)
I am running Perl 5.6 and do not use the object oriented html function. I just
want to use.
print 'html'; etc.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Zaka rias) wrote:
> if some users come into my site, that script will
> catch the user ip and write it to iplog.txt file
why not simply look in the access log? it should already
have that information.
--
brian d foy <[EMAIL PROTECTED]> - Perl
script will
catch the user ip and write it to iplog.txt file, and
then im using that iplog.txt for hit counter purpose.
but that's not accurate, cuz everytime user click
main.html the hit counter growing bigger and bigger.
and then i heard about cookies, and i heard that with
cookies, we (as a
1 - 100 of 137 matches
Mail list logo