Re: Retrieving Cookies does not return all domain values

2009-02-26 Thread Gunnar Hjalmarsson
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

Retrieving Cookies does not return all domain values

2009-02-25 Thread Thomas Hilbig
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

Re: cookies as hidden files

2005-09-16 Thread Denzil Kruse
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

Re: cookies as hidden files

2005-09-16 Thread Bob Showalter
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

Re: cookies as hidden files

2005-09-16 Thread Denzil Kruse
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

Re: cookies as hidden files

2005-09-16 Thread Denzil Kruse
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

Re: cookies as hidden files

2005-09-16 Thread Sara
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

Re: cookies as hidden files

2005-09-16 Thread Sean Davis
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. > >

cookies as hidden files

2005-09-15 Thread Denzil Kruse
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

Re: Clearing cookies

2005-08-17 Thread Denzil Kruse
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 >

Re: Clearing cookies

2005-08-17 Thread Denzil Kruse
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

Re: Clearing cookies

2005-08-17 Thread Denzil Kruse
--- [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'}) {

Re: Clearing cookies

2005-08-16 Thread Denzil Kruse
--- 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

Re: Clearing cookies

2005-08-16 Thread Wiggins d'Anconia
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"; > >

Clearing cookies

2005-08-16 Thread Denzil Kruse
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

HELLLLLP! COOKIES ARE DRIVING ME INSAAAAAAAAAAANE!

2004-09-07 Thread Ron Goral
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

Re: Cookies v. Hiddent Fields

2004-09-01 Thread Octavian Rasnita
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

Re: Cookies v. Hiddent Fields

2004-09-01 Thread Wiggins d Anconia
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

Cookies v. Hiddent Fields

2004-09-01 Thread Siegfried Heintze
of any consequence? Someone recommend that I don't persist cookies. How do I not persist cookies? Thanks, Siegfried

Re: redirecting and setting cookies with CGI.pm

2004-06-13 Thread Andrew Gaffney
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

redirecting and setting cookies with CGI.pm

2004-06-13 Thread Andrew Gaffney
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

cookies and character sets

2003-12-17 Thread Andrew Brosnan
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

Re: Cookies

2003-09-23 Thread Ramon Chavez
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.

RE: Cookies

2003-09-22 Thread Alejandro Chavarria - CyPage
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

Re: Cookies

2003-09-20 Thread Wiggins d'Anconia
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"

RE: Cookies

2003-09-18 Thread Wiggins d'Anconia
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

Cookies

2003-09-17 Thread Alejandro Chavarria - CyPage
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

Re: cookies with CGI and IE7

2003-08-04 Thread Todd W.
"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',

Re: cookies with CGI and IE7

2003-08-04 Thread Wiggins d'Anconia
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',

cookies with CGI and IE7

2003-08-04 Thread Andrew Brosnan
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->

Re: Cookies and mod_perl

2003-07-05 Thread Bob Showalter
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

Re: Cookies and mod_perl

2003-07-04 Thread Wiggins d'Anconia
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

Cookies and mod_perl

2003-06-29 Thread Dennis Stout
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

Re: function/module to check if visitors have their cookies enabled

2003-06-09 Thread Octavian Rasnita
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-

[perl #22609] function/module to check if visitors have their cookies enabled

2003-06-06 Thread Ahrent
>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

Re: function/module to check if visitors have their cookies enabled

2003-06-06 Thread Kristofer Hoch
What sometimes helps me is this... Add a domain. -domain => '.some.com', --- Ahrent <[EMAIL PROTECTED]> wrote: > 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-rea

Re: function/module to check if visitors have their cookies enabled

2003-06-06 Thread Andrew Brosnan
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

function/module to check if visitors have their cookies enabled

2003-06-06 Thread Ahrent
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-ready might be a module for this, but I haven’t been able to locate it. I have so for been trying work around the problem myself with something like this

Re: shared cookies

2003-03-18 Thread Todd Wade
"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 -

Re: shared cookies

2003-03-18 Thread Wiggins d'Anconia
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

shared cookies

2003-03-17 Thread Hytham Shehab
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

RE: cookies

2003-02-19 Thread Kipp, James
> 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

cookies

2003-02-19 Thread Stephen Spalding
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: [

Re: cookies not set

2003-02-17 Thread drieux
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

cookies not set

2003-02-16 Thread uma ramdoss
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

Re: Help with Cookies

2003-02-08 Thread CraigD
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

Help with Cookies

2003-02-07 Thread Kipp, James
> 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

Re: Cookies - might be off topic

2002-12-16 Thread Wiggins d'Anconia
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

RE: Cookies - might be off topic

2002-12-16 Thread Peter Kappus
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

Cookies - might be off topic

2002-12-15 Thread Octavian Rasnita
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

two cookies from one domain

2002-11-01 Thread aman cgiperl
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

Re: Cookies and IP Addresses

2002-10-03 Thread Robin Cragg
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

Cookies and IP Addresses

2002-10-03 Thread Mike Craig
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'}

RES: cookies (FIX)

2002-10-02 Thread Ricardo Luiz Chamberline Maturana
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

Re: cookies

2002-10-02 Thread Trevor Wilkes
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

RES: cookies

2002-10-02 Thread Ricardo Luiz Chamberline Maturana
I use the line: print "Content-type: text/html\\nSet-Cookie: PS=$PS;\\n\\n"; and it works well. []´s Ricardo

RE: cookies

2002-10-02 Thread Robin Cragg
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:[

Re: cookies

2002-10-02 Thread James Edward Gray II
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

cookies

2002-10-02 Thread aman cgiperl
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";

Re: Sending and Reading cookies

2002-09-12 Thread Wiggins d'Anconia
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

Sending and Reading cookies

2002-09-12 Thread 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:

RE: Redirect and cookies

2002-09-02 Thread Ovid
--- 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

RE: Redirect and cookies

2002-08-31 Thread Alex Agerholm
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

Re: Redirect and cookies

2002-08-31 Thread Ovid
> 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

Re: Redirect and cookies

2002-08-31 Thread Gfoo
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).

RE: Redirect and cookies

2002-08-30 Thread Bob Showalter
> -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

Re: Redirect and cookies

2002-08-30 Thread zentara
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

Redirect and cookies

2002-08-30 Thread Alex Agerholm
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

Re: How to set cookies for an SHTML document?

2002-08-20 Thread John Pitchko
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.

Re: How to set cookies for an SHTML document?

2002-08-19 Thread Wiggins d'Anconia
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

How to set cookies for an SHTML document?

2002-08-19 Thread Octavian Rasnita
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

Re: Accepting cookies with LWP?

2002-06-30 Thread zentara
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

Accepting cookies with LWP?

2002-06-29 Thread Octavian Rasnita
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

Re: cookies

2002-05-05 Thread mark
The URL to the code: http://kleo.net/cookie2.txt

cookies

2002-05-05 Thread mark
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

Re: log-in/out w/o cookies

2002-04-19 Thread Teresa Raymond
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

Re: log-in/out w/o cookies

2002-04-14 Thread Todd Wade
"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

Re: log-in/out w/o cookies

2002-04-13 Thread Teresa Raymond
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

Re: log-in/out w/o cookies

2002-04-08 Thread fliptop
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

log-in/out w/o cookies

2002-04-08 Thread Four Hewes
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

RE: nearly got the cookies // debugging suggestion

2002-03-12 Thread Stout, Joel R
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

Re: nearly got the cookies // debugging suggestion

2002-03-12 Thread Matthew Harrison
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

nearly got the cookies

2002-03-12 Thread Matthew Harrison
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

Re: cookies

2002-03-11 Thread eric-perl
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

Re: cookies

2002-03-11 Thread Randal L. Schwartz
>>>>> "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

cookies

2002-03-11 Thread Matthew Harrison
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

Re: setting and retrieving cookies

2002-03-11 Thread Matthew Harrison
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

Re: setting and retrieving cookies

2002-03-11 Thread Matthew Harrison
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

setting and retrieving cookies

2002-03-11 Thread Matthew Harrison
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;

Re: Session cookies

2002-02-27 Thread eric-perl
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

Session cookies

2002-02-27 Thread Octavian Rasnita
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

[Q] Unable to Retrieve Cookies.

2002-02-24 Thread Bhanu Prakash
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

Setting cookies

2002-02-18 Thread Octavian Rasnita
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

Re: Cookies ...

2002-01-09 Thread Briac Pilpré
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

Cookies ...

2002-01-09 Thread Polikarpov Cyrill
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]

Cookies and SSI

2002-01-07 Thread Robert Howard
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

apache localhost cookies

2002-01-03 Thread Carl Franks
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

Cookies

2001-11-20 Thread jason
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.

Re: web and cookies

2001-11-19 Thread _brian_d_foy
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

web and cookies

2001-11-19 Thread zaka rias
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   2   >