[mp2] Apache::Cookie

2003-07-15 Thread Swen Schillig
Are there any plans to have Apache::Cookie or does mp2 code always has to use CGI if there are cookies needed ? Swen

Re: [mp2] Apache::Cookie

2003-07-15 Thread Stas Bekman
Swen Schillig wrote: Are there any plans to have Apache::Cookie or does mp2 code always has to use CGI if there are cookies needed ? Apache::Cookie is a part of the libapreq-2 library. It'll become available as soon as Apache::Request is released. You are more then welcome to join the libapreq

Re: [mp2] Apache::Cookie

2003-07-15 Thread Perrin Harkins
On Tue, 2003-07-15 at 06:43, Swen Schillig wrote: Are there any plans to have Apache::Cookie or does mp2 code always has to use CGI if there are cookies needed ? Apache::Cookie is part of libapreq (along with Apache::Request), so you should follow libapreq development for this. - Perrin

Re: [mp2] Apache::Cookie

2003-07-15 Thread Joe Schaefer
Perrin Harkins [EMAIL PROTECTED] writes: On Tue, 2003-07-15 at 06:43, Swen Schillig wrote: Are there any plans to have Apache::Cookie or does mp2 code always has to use CGI if there are cookies needed ? Apache::Cookie is part of libapreq (along with Apache::Request), so you should follow

RE: Apache::Cookie

2003-06-04 Thread cap
; modperl Subject: Re: Apache::Cookie cap wrote: Well, here's what I have to do to get direct access to values from the original cookie hash: my $cookies = Apache::Cookie-fetch; my %hash = defined $cookies-{'session'} ? $cookies-{'session'}-value : undef; Strange. Thanks for the lead. That's

RE: Apache::Cookie

2003-06-04 Thread Perrin Harkins
; The larger issue is fixing the Apache::Cookie docs. I would attempt to patch it if I understood what it's doing. Does anyone know what the API is returning when you call fetch()? An Apache::Table? Some other kind of object? It looks pretty bizarre to me, and it certainly isn't doing what the docs show

RE: Apache::Cookie

2003-06-04 Thread cap
Okay, I'm obviously no expert but I see a problem ... I think? : my $cookie = Apache::Cookie-fetch; my $ref_cookie = ref $cookie; returns 'HASH' but my $session = $cookies-{'session'}-value; my $type = ref @session; doesn't return anything, '' or (undef?). strange? However: my

Apache::Cookie

2003-06-03 Thread cap
i have an application that uses CGI and sets the cookie values as a hashref. im then attempting to retreive the values with Apache::Cookie with: $cookies = Apache::Cookie-fetch; $ccokies is a hashref so i should be able to get the individual values with: $cookies-{uid}; right? however

Re: Apache::Cookie

2003-06-03 Thread Jason Galea
Have you consulted the documentation? http://search.cpan.org/author/JIMW/libapreq-1.1/Cookie/Cookie.pm#value cap wrote: i have an application that uses CGI and sets the cookie values as a hashref. im then attempting to retreive the values with Apache::Cookie with: $cookies = Apache::Cookie-fetch

RE: Apache::Cookie

2003-06-03 Thread cap
Yes, but: use Apache::Cookie; my $cookie = Apache::Cookie-fetch; my @values = $cookie-value; returns errors. -Original Message- From: Jason Galea [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 5:56 AM To: [EMAIL PROTECTED] Cc: modperl Subject: Re: Apache::Cookie Have you

RE: Apache::Cookie

2003-06-03 Thread Perrin Harkins
On Mon, 2003-06-02 at 16:30, cap wrote: Yes, but: use Apache::Cookie; my $cookie = Apache::Cookie-fetch; my @values = $cookie-value; returns errors. The value() call isn't meant to be used with fetch(). Your original example looked fine to me. What was not working about it? Did you

Re: Apache::Cookie

2003-06-03 Thread Perrin Harkins
On Mon, 2003-06-02 at 09:05, cap wrote: i have an application that uses CGI and sets the cookie values as a hashref. im then attempting to retreive the values with Apache::Cookie with: $cookies = Apache::Cookie-fetch; $ccokies is a hashref so i should be able to get the individual values

RE: Apache::Cookie

2003-06-03 Thread cap
Well, here's what I have to do to get direct access to values from the original cookie hash: my $cookies = Apache::Cookie-fetch; my %hash = defined $cookies-{'session'} ? $cookies-{'session'}-value : undef; Strange. Thanks for the lead. -Original Message- From: Perrin Harkins [mailto

Re: Apache::Cookie

2003-06-03 Thread Stas Bekman
cap wrote: Well, here's what I have to do to get direct access to values from the original cookie hash: my $cookies = Apache::Cookie-fetch; my %hash = defined $cookies-{'session'} ? $cookies-{'session'}-value : undef; Strange. Thanks for the lead. That's a bogus code. Obviously you are running

Re: Has Apache::Cookie been ported to mod_perl-2 yet?

2003-02-13 Thread wsheldah
No it hasn't. Need to use CGI::Cookie for the time being. Apache::Cookie and Apache::Request I believe are both either provided by or dependent on libapreq, which is still a work in progress for apache2/mod_perl2. That's the biggest reason I'm still using Apache 1.3.x now. Wes Sheldahl

Re: Has Apache::Cookie been ported to mod_perl-2 yet?

2003-02-13 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: No it hasn't. Need to use CGI::Cookie for the time being. Apache::Cookie and Apache::Request I believe are both either provided by or dependent on libapreq, which is still a work in progress for apache2/mod_perl2. That's the biggest reason I'm still using Apache 1.3.x now

Has Apache::Cookie been ported to mod_perl-2 yet?

2003-02-12 Thread Charles McElhose Jr.
Has Apache::Cookie been ported to mod_perl-2 yet? I tried to install the libapreq-1.1 module with mod_perl-2/apache 2 and am getting a can't locate Apache/MyConfig.pm ... error. Charles M. [EMAIL PROTECTED]

Fw: Has Apache::Cookie been ported to mod_perl-2 yet?

2003-02-11 Thread Charles McElhose Jr.
Has Apache::Cookie been ported to mod_perl-2 yet? I tried to install the libapreq-1.1 module with mod_perl-2/apache 2 and am getting a can't locate Apache/MyConfig.pm ... error. Charles M.

Re: Fw: Has Apache::Cookie been ported to mod_perl-2 yet?

2003-02-11 Thread Charles O. McElhose Jr.
Thanks, is there any word on when this may happen? Charles

Re: Fw: Has Apache::Cookie been ported to mod_perl-2 yet?

2003-02-11 Thread Stas Bekman
Charles O. McElhose Jr. wrote: Thanks, is there any word on when this may happen? Subscribe to the apreq-dev list to stay up to date with the recent developments http://httpd.apache.org/apreq/ meanwhile use CGI::Cookie if you work with mod_perl 2.0.

RE: Apache::Cookie - weird values returned...

2003-02-10 Thread Rob Lambden
Eric Sammer wrote: What is weird is that the Apache::Cookie object DOES exist, it's just the value that's all wacked out or just plain missing. I've had problems with scripts and mod_perl code before where I inadvertently create keys in a hash when I'm testing to see if they exist. I now

Re: Apache::Cookie - weird values returned...

2003-02-10 Thread Eric Sammer
in the bottom by the same things many times in the past... i learned my lesson. ;) If the key did not exist previously it may be created by this process. The key can exist but hold an undefined value. again, in this case, the key is an Apache::Cookie object which couldn't accidentally be created

Re: Apache::Cookie - weird values returned...

2003-02-10 Thread Rob Lambden
Eric Sammer wrote: the expire *i'm* specifying is just a relative '-1D' to cause the browser to drop it. if there's a better way, i'm certainly open to suggestions. The HTTP headers do not support relative dates as far as I know. Thus when you specify a relative date the code must claculate

Apache::Cookie - weird values returned...

2003-02-07 Thread Eric Sammer
All: I've got a strange Apache::Cookie issue that seems to have recently snuck up on me, although I've seen similar behavior in the past. I have a PerlAccessHandler called GroupAccess that handles all access to a site**. If there's a user_id cookie, it pulls urls allowed to that user from

modperl 2.0 problems with Apache::Cookie and related modules.

2002-12-19 Thread b. ash
Hi, I am trying to configure a working apache2/modperl2 setup, unfortunately I can not seemt to get a critical module Apache::Cookie to install, I keep getting this error. Can't locate Apache/MyConfig.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.0/i686-linux-thread-multi /usr/local

Re: modperl 2.0 problems with Apache::Cookie and related modules.

2002-12-19 Thread Randy Kobes
On Thu, 19 Dec 2002, b. ash wrote: Hi, I am trying to configure a working apache2/modperl2 setup, unfortunately I can not seemt to get a critical module Apache::Cookie to install, I keep getting this error. Can't locate Apache/MyConfig.pm in @INC (@INC contains: /usr/local/lib/perl5

RE: modperl 2.0 problems with Apache::Cookie and related modules.

2002-12-19 Thread Beau E. Cox
To: [EMAIL PROTECTED] Subject: modperl 2.0 problems with Apache::Cookie and related modules. Hi, I am trying to configure a working apache2/modperl2 setup, unfortunately I can not seemt to get a critical module Apache::Cookie to install, I keep getting this error. Can't locate Apache/MyConfig.pm

Re: modperl 2.0 problems with Apache::Cookie and related modules.

2002-12-19 Thread Stas Bekman
b. ash wrote: Hi, I am trying to configure a working apache2/modperl2 setup, unfortunately I can not seemt to get a critical module Apache::Cookie to install, I keep getting this error. Can't locate Apache/MyConfig.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.0/i686-linux-thread

NEWBIE: Apache and Apache Cookie Module missing?

2002-11-24 Thread Joe Palladino
::Cookie PerlModule CGI PerlModule CGI::Cookie and my code is use Apache::Constants qw(:common); use Apache::Cookie (); use Apache(); my $r; Apache-request([$r]); I get the error that the request object is not found and have I loaded the Apache module. As far as I can tell I am doing

Re: NEWBIE: Apache and Apache Cookie Module missing?

2002-11-24 Thread Randy Kobes
in my httpd.conf PerlModule Apache PerlModule Apache::Cookie You need the libapreq package, from CPAN, for Apache::Cookie and Apache::Request. -- best regards, randy kobes

Re: mp2.0 Apache::Cookie

2002-11-11 Thread Stas Bekman
Rafael Amer Ramon wrote: Hi. I'm trying to upgrade my apache+mod_perl server form versions 1.3.27 (Apache) and 1.27 (mod_perl) to versions 2.0.43 and 2.0 but I have a problem with cookies. With mod_perl 1.27 I use Apache::Cookie from libapreq-1.0 and I cannot fount a similar module

mp2.0 Apache::Cookie

2002-10-19 Thread Rafael Amer Ramon
Hi. I'm trying to upgrade my apache+mod_perl server form versions 1.3.27 (Apache) and 1.27 (mod_perl) to versions 2.0.43 and 2.0 but I have a problem with cookies. With mod_perl 1.27 I use Apache::Cookie from libapreq-1.0 and I cannot fount a similar module for mod_perl 2.0. Does anybody

Re: BUG: Apache::Cookie v1.0

2002-09-23 Thread darren chamberlain
* Michael McLagan [EMAIL PROTECTED] [2002-09-21 11:45]: There is a bug in Apache::Cookie. It doesn't handle a cookie with zero bytes in it! This is because Apache::Cookie is implemented in C, and C uses NULL as the end of string terminator. This is probably something that needs to be done

BUG: Apache::Cookie v1.0

2002-09-21 Thread Michael McLagan
Hello, There is a bug in Apache::Cookie. It doesn't handle a cookie with zero bytes in it! $value = ABCD . chr(0) . EFGH; $cookie = Apache::Cookie-new($request, -name= 'oatmeal', -value= $value, -domain=$ENV{'SERVER_NAME'}, -path=/); print $cookie-as_string; The output looks like

Re: BUG: Apache::Cookie v1.0

2002-09-21 Thread Michael McLagan
Once upon a time, I wrote: There is a bug in Apache::Cookie. It doesn't handle a cookie with zero bytes in it! A clarification, it's not a zero length cookie that is mishandled, it's a cookie with an embedded NUL (zero) character. Michael

Apache::Cookie under mod_perl

2002-06-24 Thread Prakash Chatterjee
Using mod_perl, I am serving my pages from port 8050 - how can I ensure that the cookies I send using Apache::Cookie appends this port on to the end of the domain in the cookie that I send back to the browser? Thanks PC

[SOLVED] Re: Redhat 7.2 glibc update causes problems with Apache::Cookie?

2002-04-24 Thread Edward Moon
FYI, I finally got my problems with Apache::Cookie (part of libapreq) solved. Much thanks to Stas for advice on solving this problem. Here's what I found: 1) Installing the glibc 2.2.4-24 updates borked the RPM installed perl 5.6.1. Building 5.6.1 from source fixed this problem. 2

Redhat 7.2 glibc update causes problems with Apache::Cookie?

2002-04-18 Thread Edward Moon
I recently applied the glibc updates described at http://www.redhat.com/support/errata/RHBA-2002-056.html to a system running Apache 1.2.22/modperl 1.2.26 on a Perl 5.6.1/Redhat Linux 7.2 system. All seemed well until I updated Apache::Cookie to the latest version and restarted apache

Re: Redhat 7.2 glibc update causes problems with Apache::Cookie?

2002-04-18 Thread Stas Bekman
Edward Moon wrote: I recently applied the glibc updates described at http://www.redhat.com/support/errata/RHBA-2002-056.html to a system running Apache 1.2.22/modperl 1.2.26 on a Perl 5.6.1/Redhat Linux 7.2 system. All seemed well until I updated Apache::Cookie to the latest version

Re: Redhat 7.2 glibc update causes problems with Apache::Cookie?

2002-04-18 Thread Edward Moon
I did that Stas. I forgot to mention that I updated Apache::Cookie via CPAN. On Fri, 19 Apr 2002, Stas Bekman wrote: [snip] looks like you have a broken or missing binary package. It says exactly what's your problem - it cannot find the library. Check that you have the right symlinks

Apache::Cookie-expires under Windows

2001-12-27 Thread Alexei Danchenkov
Hi, All, I posted a message on the subject a little earlier, but apparently I need to learn more. The Apache::Cookie-expires as below adds unwanted information (header dump attached) to the date and subsequently does not want to bake ($cookie-bake). This is the code: my $cookie = Apache::Cookie

Re: libapreq. Apache::Cookie returns different 'expires' than CGI::Cookie?

2001-12-18 Thread Alexei Danchenkov
). The result is different in a way that some additional binary code is being added to the expiry date. $cookie = Apache::Cookie-new( $r, -name=access, -value=$value, -expires=+10m ); #my $cookie = new CGI::Cookie( -name=access, -value=$value, -expires=+10m ); $expiry = $cookie

libapreq. Apache::Cookie returns different 'expires' than CGI::Cookie?

2001-12-14 Thread Alexei Danchenkov
Hello, All! I wonder why my '$cookie-expires' for this code returns a different result than the similar one with CGI::Cookie (commented). The result is different in a way that some additional binary code is being added to the expiry date. $cookie = Apache::Cookie-new( $r, -name=access, -value

Re: libapreq. Apache::Cookie returns different 'expires' than CGI::Cookie?

2001-12-14 Thread darren chamberlain
is being added to the expiry date. $cookie = Apache::Cookie-new( $r, -name=access, -value=$value, -expires=+10m ); #my $cookie = new CGI::Cookie( -name=access, -value=$value, -expires=+10m ); $expiry = $cookie-expires; Any suggestions? Maybe I'm just slow, but I can see

Apache::Cookie bug with value = undef

2001-10-08 Thread Dave Rolsky
If I do this: Apache::Cookie-new( $r, -name = 'foo', -value = { will_break = '', completely_borked = 1 } )-bake; and then I later try to read the cookie in and do this: my %c = Apache::Cookie-fetch; my %cookie = $c{foo}-value; print $cookie{will_break

Re: Apache::Cookie bug with value = undef

2001-10-08 Thread Ged Haywood
Hi Dave, On Mon, 8 Oct 2001, Dave Rolsky wrote: Apache::Cookie-new( $r, -name = 'foo', -value = { will_break = '', completely_borked = 1 } )-bake; Have you tried doing Apache::Cookie-new( $r, -name = 'foo

Re: Apache::Cookie bug with value = undef

2001-10-08 Thread Dave Rolsky
On Mon, 8 Oct 2001, Ged Haywood wrote: Have you tried doing Apache::Cookie-new( $r, -name = 'foo', -value = { wont_break = '1', not_at_all_borked = '' } )-bake; instead? I can hardly control the order in which values are written out to the cookie via

Apache::Cookie

2001-08-09 Thread Rasoul Hajikhani
I must first thank all of you that helped and apologize to you... I now know why I was not able to read and write my cookies. The Domain. my module is now happy to accommodate my request after changing from http://localhost/...; to the appropriate http://mymachine.mydomain.com/...;. Thanks to you

Apache::Cookie

2001-08-06 Thread Rasoul Hajikhani
Hello, Is there a bug in Apache::Cookie? I am trying to set a cookie using: $webuname = Apache::Cookie-new( $r, -name = 'randh_webuname', -value =$user

Re: Apache::Cookie-fetch fails silently

2001-06-19 Thread Doug MacEachern
On Fri, 15 Jun 2001, Rodney Broom wrote: I've got this handler that calls Apache::Cookie-fetch, no problem. It's tested and works fine. So I installed the same handler (same machine) on a second Apache instance, but now Apache::Cookie-fetch fails, causing the handler to terminate

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-18 Thread will trillich
On Mon, Jun 18, 2001 at 07:18:56AM +0200, Per Einar wrote: - Original Message - From: will trillich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 7:09 AM Subject: Re: CGI::Cookie vs Apache::Cookie -- help? what does $cookie-bake do (add set-cookie header

CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread will trillich
= '/', -domain = '.my.com', -expires = '+1M', -value = { 'ID' = $Counter } ); mine is similar: $r-log_error( qq(...id=$ID, sending cookie) ); my $cookie = Apache::Cookie-new

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread Chris Winters
* will trillich ([EMAIL PROTECTED]) [010617 23:04]: mine is similar: $r-log_error( qq(...id=$ID, sending cookie) ); my $cookie = Apache::Cookie-new( $r, -name = $cookie_name, -value = $ID

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread Cees Hek
On Sun, 17 Jun 2001, will trillich wrote: $r-log_error( qq(...id=$ID, sending cookie) ); my $cookie = Apache::Cookie-new( $r, -name = $cookie_name, -value = $ID , -domain = $r-hostname

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread will trillich
On Sun, Jun 17, 2001 at 11:14:23PM -0400, Chris Winters wrote: * will trillich ([EMAIL PROTECTED]) [010617 23:04]: $r-log_error( qq(...id=$ID, sending cookie) ); --this outputs the string i'm hoping for, into the log file. my $cookie = Apache::Cookie-new( $r

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread Per Einar
- Original Message - From: will trillich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 7:09 AM Subject: Re: CGI::Cookie vs Apache::Cookie -- help? On Sun, Jun 17, 2001 at 11:14:23PM -0400, Chris Winters wrote: * will trillich ([EMAIL PROTECTED]) [010617 23:04

Apache::Cookie-fetch fails silently

2001-06-15 Thread Rodney Broom
I've got this handler that calls Apache::Cookie-fetch, no problem. It's tested and works fine. So I installed the same handler (same machine) on a second Apache instance, but now Apache::Cookie-fetch fails, causing the handler to terminate. No messages, no nothin'. It doesn't even get

Can't locate object method parse via package Apache::Cookie

2001-05-30 Thread David Boone
Apache::Cookie (perhaps you forgot to load Apache::Cookie?) at /apache/conf/handler.pl line 75. [dave@powerbook dave]$ cat test.pl use Apache::Cookie; $lkj = parse Apache::Cookie; [dave@powerbook dave]$ perl test.pl Can't locate object method parse via package Apache::Cookie (perhaps you forgot

RE: Can't locate object method parse via package Apache::Cookie

2001-05-30 Thread Geoffrey Young
your syntax is wrong... try my %cookiejar = Apache::Cookie-new($r)-parse; and I assume that you know Apache::Cookie is part of libapreq and not part of the mod_perl distribution... HTH --Geoff -Original Message- From: David Boone To: [EMAIL PROTECTED] Sent: 5/30/01 4:44 PM

Apache::Cookie and encoding

2001-04-12 Thread Erik Arneson
Howdy folks, I'd like to use Apache::Cookie, but I'm doing some tricky things with cookie data, which requires that I do the encoding myself. However, every time I 'bake' a cookie object, it tries to encode stuff for me. I don't like this. For example, if I've got cookie data that looks like

RE: Apache::Cookie and encoding

2001-04-12 Thread Rob Bloodgood
I'd like to use Apache::Cookie, but I'm doing some tricky things with cookie data, which requires that I do the encoding myself. However, every time I 'bake' a cookie object, it tries to encode stuff for me. I don't like this. For example, if I've got cookie data that looks like 'foo%21

Apache::Cookie-bake - When?

2001-03-27 Thread Issac Goldstand
I'm slowly porting my development scripts from mod_cgi to mod_perl. I just moved my main authentication handler to PerlFixupHandler (later I'll probably move it to AuthenHandler, but I just want it to work for now). In any case, all of the sudden, my upload script is choking and giving me

[Apache::Cookie] Segv in Cookie.so ?

2001-03-08 Thread Karl M. Hegbloom
Anyone else experiencing segv's in Cookie.so? I'm using mod_perl 1.25, Apache 1.3.14, and libapreq (Apache::Cookie) 0.31.3 with HTML::Mason 0.89. I tried a rebuild of libapreq etc., but it still segv's. I've an authen handler and a request handler, and both use Apache::Cookie. I'm

Re: I'm missing something in Apache::Cookie

2000-09-18 Thread darren chamberlain
Michael ([EMAIL PROTECTED]) said something to this effect: H. When I retrieve a cookie %cookies = Apache::Cookie-fetch; I get a hash that contains the name of the cookie as the key and a scalar reference as the value. Apache::Cookie=SCALAR(0xblah...) Can't seem to unravel

Re: I'm missing something in Apache::Cookie (fwd)

2000-09-17 Thread Joe Schaefer
wantarray. The problem many people encounter is that the values in the returned hash(ref) are Apache::Cookie OBJECTS, not simply value of the cookie. There's more to a cookie than just it's value. I think it goes something like this. %cookies = Apache::Cookie-fetch; print ref \%cookies; # prints HASH ??

I'm missing something in Apache::Cookie

2000-09-15 Thread Michael
H. When I retrieve a cookie %cookies = Apache::Cookie-fetch; I get a hash that contains the name of the cookie as the key and a scalar reference as the value. Apache::Cookie=SCALAR(0xblah...) Can't seem to unravel it to get at the value. Using %xx = Apache::Cookie-parse($val

Re: I'm missing something in Apache::Cookie

2000-09-15 Thread Chris Winters
* Michael ([EMAIL PROTECTED]) [000915 17:29]: H. When I retrieve a cookie %cookies = Apache::Cookie-fetch; I get a hash that contains the name of the cookie as the key and a scalar reference as the value. Apache::Cookie=SCALAR(0xblah...) Can't seem to unravel it to get

Re: I'm missing something in Apache::Cookie (fwd)

2000-09-15 Thread Thomas S. Brettin
Winters wrote: * Michael ([EMAIL PROTECTED]) [000915 17:29]: H. When I retrieve a cookie %cookies = Apache::Cookie-fetch; I get a hash that contains the name of the cookie as the key and a scalar reference as the value. Apache::Cookie=SCALAR(0xblah...) Can't seem

Connect the dots on Apache::Cookie

2000-08-18 Thread Christopher Louis Everett
Hello: Is there any more documentation besides the perldoc on how to use Apache::Cookie (it's not enough for me :(, I need something a bit more tutorially oriented, and the Eagle Book doesn't cover it)? Thanks in advance. Christopher Everett

Re: Connect the dots on Apache::Cookie

2000-08-18 Thread Stas Bekman
On Fri, 18 Aug 2000, Christopher Louis Everett wrote: Hello: Is there any more documentation besides the perldoc on how to use Apache::Cookie (it's not enough for me :(, I need something a bit more tutorially oriented, and the Eagle Book doesn't cover it)? Thanks in advance

Re: Connect the dots on Apache::Cookie

2000-08-18 Thread Christopher Louis Everett
Stas Bekman wrote: snip I'm not sure how much this will be of a tutorial but try: http://thingy.kcilink.com/modperlguide/porting/Starting_with_mod_cgi_Compatible.html This is to say then, that one uses Apache::Cookie, just like one would use CGI::Cookie? Everett PS. Thanks

Re: Connect the dots on Apache::Cookie

2000-08-18 Thread Stas Bekman
On Fri, 18 Aug 2000, Christopher Louis Everett wrote: Stas Bekman wrote: snip I'm not sure how much this will be of a tutorial but try: http://thingy.kcilink.com/modperlguide/porting/Starting_with_mod_cgi_Compatible.html This is to say then, that one uses Apache::Cookie, just

segfault from Apache::Cookie and Apache::SSI

2000-08-10 Thread Perrin Harkins
I'm getting repeatable segfaults (every time) by feeding a simple file to Apache::SSI. It does a virtual include and then calls a perl sub that creates a new Apache::Cookie object, at which point it segfaults. I've reduced my test case to this: !--#include virtual="foo.shtml"-- !-

Re: segfault from Apache::Cookie and Apache::SSI

2000-08-10 Thread G.W. Haywood
Hi Perrin, On Thu, 10 Aug 2000, Perrin Harkins wrote: I'm getting repeatable segfaults (every time) by feeding a simple file to Apache::SSI. DSO or static? 73, Ged.

Re: segfault from Apache::Cookie and Apache::SSI

2000-08-10 Thread G.W. Haywood
Hi again Perrin, On Thu, 10 Aug 2000, Perrin Harkins wrote: I'm using Red Hat's Perl RPM, but Apache/mod_perl is compiled from source. What compiler(s)? 73, Ged.

Re: segfault from Apache::Cookie and Apache::SSI

2000-08-10 Thread Perrin Harkins
On Fri, 11 Aug 2000, G.W. Haywood wrote: What compiler(s)? gcc -v says: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

install Apache::Cookie for Win32? was: mod_perl setup for w2k?

2000-06-22 Thread Tom Roche
few tweaks to httpd.conf-perl, install the service per http://apache.org/docs/windows.html and Apache::Hello is doing its thing on w2k. However, the site that I want to port from Solaris Apache to Windows Apache uses Apache::Cookie, so I got [error] Can't locate Apache/Cookie.pm in @INC in the er

Re: install Apache::Cookie for Win32? was: mod_perl setup for w2k?

2000-06-22 Thread Randy Kobes
: libapreq + win32 Doug MacEachern ([EMAIL PROTECTED]) Mon, 10 May 1999 14:40:20 -0700 (PDT) and am hoping someone's gotten this working in the past year (oh please :-) Otherwise, is there a workaround? Apache::Cookie comes in the libapreq package, so you do need this installed. I'm

Re: install Apache::Cookie for Win32?

2000-06-22 Thread Tom Roche
ndows.html and Apache::Hello is doing its thing on w2k. However, the site that I want to port from Solaris Apache to Windows Apache uses Apache::Cookie snip I get [error] Can't locate loadable object for module Apache::Cookie in @INC ... at d:/ProgramFiles/Perls/GNU/site/5.6.0/lib/mod_per

Re: Apache::Cookie problems

2000-04-11 Thread Doug MacEachern
But while Recovering the Cookie I got some errors: $cookie_ref = Apache::Cookie-fetch; any difference if you change that to: my $r = Apache-request; my $cookies = Apache::Cookie-new($r)-parse; ?

First argument to Apache::Cookie-new

2000-04-10 Thread Zeqing Xia
I have noticed that although it is required to pass $r to Apache::Cookie-new() as the first argument, it appears that no type checking is performed. In other words, if I pass anything else as the first arg, no error is reported. However the subsequent call to $cookie-as_string will result

Re: Apache::Cookie problems

2000-04-10 Thread Alvar Freude
Hi! get-cookie.html -- % use Apache::Cookie; my $cookie_ref = Apache::Cookie-fetch; my $conf_cookie = $cookie_ref-{conf}; my %hash = $conf_cookie-value; ^^^ thats it, now I understand! many thanks, it was too late last night for me

Diff between Apache::Cookie and CGI::Cookie

2000-04-09 Thread Fred Xia
Can anyone tell what's the difference between Apache::Cookie and CGI::Cookie? The eagle book has examples of using CGI::Cookie. Thanks. Fred Xia __ Get Your Private, Free Email at http://www.hotmail.com

Apache::Cookie problems

2000-04-09 Thread Alvar Freude
Hi, I have some problems in setting and getting back Cookie Values with Apache::Cookie. I'm setting a cookie with Apache::Cookie and it seems that the cookie is set correct: my $c = Apache::Cookie-new($r, -name= 'conf', -value

Re: Apache::Cookie problems

2000-04-09 Thread Rajesh Kumar Mallah
perldoc Apache::Cookie says value Get or set the values of the cookie: 1.my $value = $cookie-value; 2.my @values = $cookie-value; 3.$cookie-value("string"); 4.$cookie-value(\@array); so if you set a array ref in 4 yo

RE: mod_rewrite and Apache::Cookie

2000-01-20 Thread Geoffrey Young
: mod_rewrite and Apache::Cookie hi all.. I've noticed that using mod_rewrite with Apache::Cookie exhibits odd behavior... scenario: foo.cgi uses Apache::Cookie to set a cookie mod_rewite writes all requests for index.html to /perl-bin/foo.cgi problem: access

mod_rewrite and Apache::Cookie

2000-01-19 Thread Geoffrey Young
hi all.. I've noticed that using mod_rewrite with Apache::Cookie exhibits odd behavior... scenario: foo.cgi uses Apache::Cookie to set a cookie mod_rewite writes all requests for index.html to /perl-bin/foo.cgi problem: access to /perl-bin/foo.cgi sets the cookie

Re: SegFaults caused by Apache::Cookie during ChildExit

2000-01-18 Thread Doug MacEachern
configuration (removed all modules we didn't need), and now I get a SegFault when Apache::Cookie-new is called during a ChildExit. I use Apache::Cookie in Authorization and PerlHandler phases without a problem. Not sure whether this problem is caused by the compiler or the different

SegFaults caused by Apache::Cookie during ChildExit

1999-12-22 Thread Clinton Gormley
), and now I get a SegFault when Apache::Cookie-new is called during a ChildExit. I use Apache::Cookie in Authorization and PerlHandler phases without a problem. Not sure whether this problem is caused by the compiler or the different configuration at compile. Any ideas of starting points? Thanks

Re: Apache::Cookie confusion

1999-12-13 Thread Doug MacEachern
On Fri, 19 Nov 1999, John Siracusa wrote: Apache::Cookie seems to have two different interfaces...or maybe there are two different distributions of Apache::Cookie? Whatever it is, the interface seems different on two machines here at work. One has 5.004 and one has 5.005

Apache::Cookie confusion

1999-01-17 Thread John Siracusa
Apache::Cookie seems to have two different interfaces...or maybe there are two different distributions of Apache::Cookie? Whatever it is, the interface seems different on two machines here at work. One has 5.004 and one has 5.005, but that shouldn't change the Apache::Cookie interface should