Re: Cookies, CGI::App, and mod_perl

2003-08-03 Thread Tom Hukins
On Fri, Aug 01, 2003 at 01:14:44PM -0400, Perrin Harkins wrote: On Fri, 2003-08-01 at 13:04, petersm wrote: When running under mod_perl the cookie is no where to be seen. Do some debugging. Look at the traffic going back and forth. Test it with GET or lynx. See if the cookie header is

Debugging Tips (Was Re: Cookies, CGI::App, and mod_perl)

2003-08-03 Thread Larry Leszczynski
for cookie testing when using PlugProxy (or similar proxying tools, I suppose): Generally you need to make sure you're making requests against the correct domain name for your browser to handle the cookies correctly. For example, if you set up PlugProxy on your desktop like so: Host

Cookies, CGI::App, and mod_perl

2003-08-01 Thread petersm
Hello all, I am using CGI::App 3.1, Apache 1.3.27 and mod_perl 1.28 Here's the problem. I'm trying to set a cookie (using CGI's cookie method and C::A's header_props method). When the site was running non mod_perl there was no problem. The cookie was set. When running under mod_perl the cookie

Re: Cookies, CGI::App, and mod_perl

2003-08-01 Thread Perrin Harkins
to set the cookie and CGI should set it correctly if I'm running under mod_perl right? Right, although I don't think C::A knows or cares at all about cookies. This is just between you and CGI.pm. I've seen a lot on forums to use Apache::Cookie, but how do I do that within C::A? You don't need

Re: Cookies, CGI::App, and mod_perl

2003-08-01 Thread Perrin Harkins
[ Please keep it on the list... ] On Fri, 2003-08-01 at 14:06, petersm wrote: Perrin Harkins [EMAIL PROTECTED] wrote Do some debugging. Look at the traffic going back and forth. Test it with GET or lynx. See if the cookie header is being sent. Thanks for the suggestion. I used wget

Re: cookies and POST in pure MP2?

2003-07-23 Thread Carl Brewer
Egor Korablev wrote: Hi How can I write and get cookies and get POST data (text) under MP2 handler without using apache::compat? You can either use libapreq, which is _almost_ there :) or hack yuor own bits up cribbed from CGI.pm or the test stuff in the mp2 test suite. That's what I'm using

Re: cookies and POST in pure MP2?

2003-07-23 Thread Stas Bekman
Carl Brewer wrote: Egor Korablev wrote: Hi How can I write and get cookies and get POST data (text) under MP2 handler without using apache::compat? You can either use libapreq, which is _almost_ there :) or hack yuor own bits up cribbed from CGI.pm or the test stuff in the mp2 test suite

Re: Getting list of all cookies available?

2003-07-19 Thread Iphigenie
Is there a way to get the list of available cookies from Apache::ASP or mod_perl? Now I am not the most expert at mod_perl, still a newbie myself Here's how i have done i when i needed to see the whole list to find out what was going on with a cookie not working use Apache::Cookie; my

Getting list of all cookies available?

2003-07-18 Thread greg
I'm using Apache 1.3.27, mod_perl 1.28, and Apache::ASP 2.53 (+ mod_ssl, all on cygwin). I know how I can get and set cookies in Apache:ASP, this is no problem. What I am trying to figure out is how to get a list of cookies that are available. Is there a way to get the list of available cookies

cookies

2003-07-16 Thread Dennis Stout
Okay, so technically this isn't really mod_perl speific... but the cookie is being set with mod_perl and it's a huge mod_perl program being affected by this:) I have a cookie, the domain is set to .stout.dyndns.org (with the leading .). I set the cookie just fine now (thanks to those helping me

Re: cookies

2003-07-16 Thread Mark Maunder
Forgot to include the list. -Forwarded Message- From: Mark Maunder [EMAIL PROTECTED] To: Dennis Stout [EMAIL PROTECTED] Subject: Re: cookies Date: 16 Jul 2003 14:19:27 -0700 Hi Dennis, One possibility: Check the -path option. It's supposed to set it to '/' by default if you

Re: cookies

2003-07-16 Thread Dennis Stout
One possibility: Check the -path option. It's supposed to set it to '/' by default if you dont specify it, but it doesn't. I discovered this about 20 minutes ago with a similar bug. So manually specify something like: my $cookie = Apache::Cookie-new($r, -name =

Re: cookies

2003-07-16 Thread Dennis Stout
Well I'll be damned. My computer at home does the cookie thing perfectly well. My workstation at work does not do cookies. So my mod_perl creation is working fine as far as getting the cookies. rant YAY FOR WIN2K DOMAINS AND ADMIN WHO USE HELP DESK TECHS TO PROGRAM TICKETING SYSTEMS FOR DSL

Re: cookies

2003-07-16 Thread Dennis Stout
Subject: Re: cookies Well I'll be damned. My computer at home does the cookie thing perfectly well. My workstation at work does not do cookies. So my mod_perl creation is working fine as far as getting the cookies. rant YAY FOR WIN2K DOMAINS AND ADMIN WHO USE HELP DESK TECHS TO PROGRAM

Re: cookies

2003-07-16 Thread Mark Maunder
From perldoc CGI::Cookie # fetch existing cookies %cookies = fetch CGI::Cookie; $id = $cookies{'ID'}-value; #You're doing $cookies-value; ID == the name that you used when you set the cookie. On Wed, 2003-07-16 at 21:27, Dennis Stout wrote: *pounds head against brick wall* why must it work

Re: cookies

2003-07-16 Thread Dennis Stout
else try to use Outlook Express like vi and get odd error messages after a days worth of coding? - Original Message - From: Mark Maunder [EMAIL PROTECTED] To: Dennis Stout [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 20 33 Subject: Re: cookies From perldoc CGI

Re: cookies

2003-07-16 Thread Mark Maunder
Message - From: Mark Maunder [EMAIL PROTECTED] To: Dennis Stout [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 20 33 Subject: Re: cookies From perldoc CGI::Cookie # fetch existing cookies %cookies = fetch CGI::Cookie; $id = $cookies{'ID'}-value; #You're

Re: cookies

2003-07-16 Thread Dennis Stout
Cool dude. Now if you know why $r-pnotes() isn't working under apache/modperl .27 you'll make my day! Got some source code to show me what you're doing with it? Otherwise I'll just have to cut and paste the mod_perl API book to you ;) hehehehe. Dennis

Re: cookies

2003-07-16 Thread Dennis Stout
WOOO! I went to the ttms site, logged in, AND IT AUTHNTICATED ME AND GAVE ME PAGES!! :D Aight, drink of choice is on me tonight :D I can't beleive it! 3 weeks on this bloody thing and I got it to finally Authenticat me =D Course, I had to disable things in

mod_perl 2.0 and cookies

2003-07-11 Thread Jamie Krasnoo
inserting cookies in mod_perl 1.0 so easy which in turn made life easier for programming. However I have scoured the documentation on how to insert a cookie into the header and the only thing I could come up with is that you use a filter to do it. Somehow I dont think that this is right and I am

Re: mod_perl 2.0 and cookies

2003-07-11 Thread Dennis Stout
inserting cookies in mod_perl 1.0 so easy which in turn made life easier for programming. However I have scoured the documentation on how to insert a cookie into the header and the only thing I could come up with is that you use a filter to do it. Somehow I don't think that this is right and I am

Re: mod_perl 2.0 and cookies

2003-07-11 Thread Randy Kobes
think that was it). Apache::Cookie made inserting cookies in mod_perl 1.0 so easy which in turn made life easier for programming. However I have scoured the documentation on how to insert a cookie into the header and the only thing I could come up with is that you use a filter to do it. Somehow I

RE: mod_perl 2.0 and cookies

2003-07-11 Thread Randy Kobes
On Fri, 11 Jul 2003, Ross Matt-QMR000 wrote: I would really like to be removed from this list but the un-scribe does not work for me. the problem is the mail address that I used way back when has been aliases to different address. Try sending a message to [EMAIL PROTECTED] for some

RE: Convert Cookies--HTTP Request Headers?

2003-04-06 Thread Kruse, Matt
Title: RE: Convert Cookies--HTTP Request Headers? From: Brian Reichert Ok, I'm confused: the cookies are already in the request header, and you want to 'convert' them into a request header? Well, yes. Two reasons: 1) In the real production environment, the cookie is encrypted and validated

Re: Convert Cookies--HTTP Request Headers?

2003-04-05 Thread Juha-Mikko Ahonen
some sample code :) package Your::SSOHandler; use strict; use Apache::Constants qw(:common); use Apache::Cookie; sub handler { my $r = shift; my $in = $r-headers_in; return DECLINED unless $in-{'Cookie'}; my $cookies = Apache::Cookie-parse($in-{'Cookie

Re: Convert Cookies--HTTP Request Headers?

2003-04-05 Thread Michael Robinton
coming in via the request header 2. Pull out each value (ex: NAME=bob;TITLE=boss) 3. Convert them to HTTP Request Headers Ok, I'm confused: the cookies are already in the request header, and you want to 'convert' them into a request header? 4. Pass the request on to the requested resource

Convert Cookies--HTTP Request Headers?

2003-04-04 Thread Kruse, Matt
Title: Convert Cookies--HTTP Request Headers? I have a unique need purely for testing purposes. I'm not very familiar (yet) with mod_perl handlers in Apache, so I've had a rough time getting anything going. Here is my goal: For every request to Apache: 1. Parse the cookie coming in via

Re: Convert Cookies--HTTP Request Headers?

2003-04-04 Thread Brian Reichert
coming in via the request header 2. Pull out each value (ex: NAME=bob;TITLE=boss) 3. Convert them to HTTP Request Headers Ok, I'm confused: the cookies are already in the request header, and you want to 'convert' them into a request header? 4. Pass the request on to the requested resource

mod_perl not sending cookies

2003-03-13 Thread Andrew Fritz
I'm using Apache:AuthCookie. I have set up a basic test site. It appears that AuthCookie never send the cookie even though the call to: $r-err_headers_out-add(Set-Cookie = $cookie); is there. If I modify the call to include a simple cookie: $r-err_headers_out-add(Set-Cookie = 'a=b'); it

Re: mod_perl not sending cookies

2003-03-13 Thread Richard Clarke
Subject: mod_perl not sending cookies I'm using Apache:AuthCookie. I have set up a basic test site. It appears that AuthCookie never send the cookie even though the call to: $r-err_headers_out-add(Set-Cookie = $cookie); is there. If I modify the call to include a simple cookie: $r

RE: mod_perl not sending cookies

2003-03-13 Thread Tom Murphy
Usually when I have this problem the path and/or domain is incorrect. Try it without either. Tom -Original Message- From: Andrew Fritz [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 12:25 PM To: [EMAIL PROTECTED] Subject: mod_perl not sending cookies I'm using

RE: mod_perl not sending cookies

2003-03-13 Thread Tom Murphy
Andrew, Ya need to remember to CC the group as well. Copied from an oldish Netscape spec: -- domain=DOMAIN_NAME When searching the cookie list for valid cookies, a comparison of the domain attributes of the cookie is made

reading cookies from mod_perl HTTP request handlers

2003-01-15 Thread Vishal Verma
Hi, I'm unable to access/read cookies from incoming HTTP requests using mod_perl HTTP request handlers.Here's what my relevant apache config section looks like Location / PerlHeaderParserHandler MyModule::header_parse_handler /Location My browser already has a cookie named 'foo

Re: reading cookies from mod_perl HTTP request handlers

2003-01-15 Thread Geoffrey Young
But, I'm not able to see that cookie when I print $ENV{'HTTP_COOKIE'} within in header_parse_handler. %ENV is setup during the fixup phase, so it hasn't been populated yet. mod_perl docs say that that you can examine request headers in the PerlHeaderParserHandler. yes, using something

Re: reading cookies from mod_perl HTTP request handlers

2003-01-15 Thread Vishal Verma
On Wed, 2003-01-15 at 14:24, Geoffrey Young wrote: if you want to force %ENV to be setup earlier, try calling $r-subprocess_env; in a void context before checking %ENV - it used to segfault for me, but the docs says it should work. This worked for me! Thanks a million! -vish

[mp2]Cookies?

2002-12-05 Thread Beau E. Cox
Hi - I can't get cookies to work on AP/MP 2. Even in compat mode. I'm not sure if this is a mod_perl, apache, or a my stupidity question, but I'm posting it here anyway. I've searched the archives, CPAN, etc. and can't seem to find the issue addressed. If I'm asking an already answered question

Re: [mp2]Cookies?

2002-12-05 Thread Randy Kobes
On Thu, 5 Dec 2002, Beau E. Cox wrote: Hi - I can't get cookies to work on AP/MP 2. Even in compat mode. I'm not sure if this is a mod_perl, apache, or a my stupidity question, but I'm posting it here anyway. Are you trying a module, or a home-grown solution? -- best regards, randy

RE: [mp2]Cookies?

2002-12-05 Thread Beau E. Cox
blues Aloha = Beau. -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 2:40 PM To: Beau E. Cox Cc: Modperl Subject: Re: [mp2]Cookies? On Thu, 5 Dec 2002, Beau E. Cox wrote: Hi - I can't get cookies to work on AP/MP 2. Even in compat

Re: [mp2]Cookies?

2002-12-05 Thread Stas Bekman
Beau E. Cox wrote: Hi Randy - Sorry, I should have been more explicit. I am trying to use Apache::Cookie. AFAIK, Apache::Cookie won't work under mp2, because Apache::Request wasn't ported yet. Trying using CGI::Cookie for now, as it has the same API and implemented in pure perl. Notice that

RE: [mp2]Cookies?

2002-12-05 Thread Beau E. Cox
Hi Stas - OK! Will do. Aloha = Beau. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 4:07 PM To: Beau E. Cox Cc: Randy Kobes; Modperl Subject: Re: [mp2]Cookies? Beau E. Cox wrote: Hi Randy - Sorry, I should have been more explicit

Re: cookies and IE

2002-10-03 Thread Jean-Michel Hiver
Wouldn't be the first time I've been wrong. I do know that I was seeing inconsistent behavior with cookies not being saved in a redirect page (mostly IE PC, but not 100% of the time), but I didn't spend any time worrying about it because of the previous messages I remembered. A quick

Re: cookies and IE

2002-10-02 Thread Alan
complain about that fact, but the irony is that just last week I couldn't figure out why a new site I was working on wasn't setting cookies in IE and I'd done the same thing I'd read about a dozen times. IE doesn't reliably set cookies on a refresh. I believe the only solution

Re: cookies and IE

2002-10-02 Thread Sven Geisler
/alan/code/rubberoven/mod_perl/Rubberoven/Dealer.pm line 139. Expires=Tue, 01 Oct 2002 18:30:31 GMT at /home/alan/code/rubberoven/mod_perl/Rubberoven/Dealer.pm line 139. This is the same that is printed out when a working browser gets cookies set. I've played around with the security settings

Re: cookies and IE

2002-10-02 Thread Per Einar Ellefsen
come up once every few months. I'd complain about that fact, but the irony is that just last week I couldn't figure out why a new site I was working on wasn't setting cookies in IE and I'd done the same thing I'd read about a dozen times. IE doesn't reliably set cookies on a refresh. I

Re: cookies and IE

2002-10-02 Thread Nicholas Studt
Alan wrote [ 01 October 2002 at 03:09 pm ] On Tue, Oct 01, 2002 at 11:30:59AM -0700, Alan wrote: Turns out the issue was the 'expires' tag... IE wouldn't set the cookie until it was set to '+1d' If setting the expires tag to +1d fixed the problem you may want to look at the time on the

Re: cookies and IE

2002-10-02 Thread Alan
. However once the time was set correctly the cookie worked correctly. Nope... one of the versions of IE that I was running was on the same machine (running through crossover office). Looks like my little problem really had nothing to do with refreshing and setting cookies, but it was actually

Re: cookies and IE

2002-10-02 Thread Geoffrey Young
, but I don't use cookies all that much, so maybe there are some cases where it's desirable. maybe $cookie should be undef, or the cookie should default to browser-session-only if -expires doesn't follow the standard format? maybe that's a question for [EMAIL PROTECTED] --Geoff

Re: cookies and IE

2002-10-02 Thread Alan
On Wed, Oct 02, 2002 at 01:21:49PM -0400, Geoffrey Young wrote: so, it's not really a bug if you dig down into the docs and examples. looks like a feature, though :) Agreed... more of a 'gotcha' though, ready to bite people in the butt. Personally I think it might make more sense to do a

Re: cookies and IE

2002-10-02 Thread Per Einar Ellefsen
At 20:12 02.10.2002, Alan wrote: On Wed, Oct 02, 2002 at 01:21:49PM -0400, Geoffrey Young wrote: so, it's not really a bug if you dig down into the docs and examples. looks like a feature, though :) Agreed... more of a 'gotcha' though, ready to bite people in the butt. Personally I think it

Re: cookies and IE

2002-10-02 Thread Alan
On Wed, Oct 02, 2002 at 08:30:54PM +0200, Per Einar Ellefsen wrote: At 20:12 02.10.2002, Alan wrote: On Wed, Oct 02, 2002 at 01:21:49PM -0400, Geoffrey Young wrote: so, it's not really a bug if you dig down into the docs and examples. looks like a feature, though :) Agreed... more of a

Re: cookies and IE

2002-10-02 Thread Kee Hinckley
was seeing inconsistent behavior with cookies not being saved in a redirect page (mostly IE PC, but not 100% of the time), but I didn't spend any time worrying about it because of the previous messages I remembered. A quick check of my mailbox shows a discussion back in March where someone suggested

cookies and IE

2002-10-01 Thread Alan
a working browser gets cookies set. I've played around with the security settings, and even at the lowest setting, with IE set to prompt for any cookies, it won't even acknowledge that I'm trying to set a cookie. Anyone have any ideas/solutions/thoughts? -- Alan Arcterex [EMAIL PROTECTED

Re: cookies and IE

2002-10-01 Thread Alan
On Tue, Oct 01, 2002 at 11:30:59AM -0700, Alan wrote: Hi folks... I'm having a bit of a weird problem with Apache::Cookie and IE. I'm setting a cookie and then doing a redirect as follows: my $c = Apache::Cookie-new( $r, -name = 'userdata', -value = $cookie,

Re: cookies and IE

2002-10-01 Thread Kee Hinckley
figure out why a new site I was working on wasn't setting cookies in IE and I'd done the same thing I'd read about a dozen times. IE doesn't reliably set cookies on a refresh. I believe the only solution is to rearchitect the site. -- Kee Hinckley - Somewhere.Com, LLC http

Apache::Cookies - problems with cookies

2002-07-28 Thread Ross Becker
Hi there folks, I'm just getting back into some mod_perl after a fairly lengthy absence, and I'm running into some troubles with cookies. Basic summary- I'm trying to set a session ID in a cookie, and it works only if I do not include an expiration time. Details: -snip

Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread Chris Pizzo
This might be a little off topic. I recently installed apache 1.3.26 with modperl 1.26. I run a virtual host seconady website. When I try to retieve or write cookies to a netscape browser from the virtualhost URL it doesn't work. cookies work fine on the main server. cookies work fine on both

Re: Weird problem with cookies on Netscape with apache running avirtualhost

2002-07-12 Thread Ged Haywood
Hi there, On Fri, 12 Jul 2002, Chris Pizzo wrote: This might be a little off topic. Not if it's the result of a mod_perl upgrade. :) I recently installed apache 1.3.26 with modperl 1.26. [snip] try to retieve or write cookies to a netscape browser from the virtualhost URL it doesn't work

RE: Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread Charles
settings on your browser which can cause your browser to reject cookies from untrusted sites. Check with http://www.w3.org/TR/P3P/ to learn about setting up your site's privacy settings. Charles -Original Message- From: Chris Pizzo [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 11:29 AM

Re: Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread Chris Pizzo
- Original Message - From: Charles [EMAIL PROTECTED] To: Chris Pizzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 1:51 PM Subject: RE: Weird problem with cookies on Netscape with apache running a virtualhost Chris, It is a bit difficult to determine your

Re: Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread ___cliff rayman___
); $r-send_http_header; This only sets one of the cookies ($c). How do I set multiple cookies? -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/

Re: Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread darren chamberlain
* Chris Pizzo [EMAIL PROTECTED] [2002-07-12 17:02]: This works but I need to set multiple cookies. Im doing this: my $c = new CGI::Cookie(-name = 'SID', -value = 'stuff', -expires = '+6M'); my $cc = new CGI::Cookie(-name = 'BUD', -value = 'Wassup', -expires = '+6M

Re: Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread Chris Pizzo
Doh! Thanks that's it! - Original Message - From: ___cliff rayman___ [EMAIL PROTECTED] To: Chris Pizzo [EMAIL PROTECTED] Cc: Charles [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 12, 2002 5:10 PM Subject: Re: Weird problem with cookies on Netscape with apache running

Setting Cookies

2002-06-13 Thread Rasoul Hajikhani
Hello folks, Yesterday I posted a question about PerlTransHandler and received a lot of responses. Thanks to all of you who replied. However, my problem persists. I try to be more precise in explaining the problem today. My login module sets a few cookies that expire 24 hrs after they are set

Re: Setting Cookies

2002-06-13 Thread ___cliff rayman___
/someLocation/) Rasoul Hajikhani wrote: Hello folks, Yesterday I posted a question about PerlTransHandler and received a lot of responses. Thanks to all of you who replied. However, my problem persists. I try to be more precise in explaining the problem today. My login module sets a few cookies

Re: Porting to mod_perl and cookies are breaking. Why?

2002-06-10 Thread Per Einar Ellefsen
PerlSetupEnv On in your Location section. See http://perl.apache.org/release/docs/1.0/guide/config.html#PerlSetupEnv Could we see your code (an excerpt showing the problem)? You might be doing something wrong when trying to set cookies. Furthermore, you should really be using CGI.pm, CGI

Re: Can't set multiple cookies?

2002-06-10 Thread Ken Miller
Last confirmation: 1.3.25-dev does indeed work fine. I've got cookies flying everywhere! Thanks guys! -klm. - Original Message - From: Ken Miller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 3:45 PM Subject: RE: Can't set multiple cookies? Yup, just

Re: Porting to mod_perl and cookies are breaking. Why?

2002-06-10 Thread Mark Korey
/config.html#PerlSetupEnv Could we see your code (an excerpt showing the problem)? You might be doing something wrong when trying to set cookies. Furthermore, you should really be using CGI.pm, CGI::Cookie or Apache::Cookie for your cookie needs. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Porting to mod_perl and cookies are breaking. Why?

2002-06-10 Thread Per Einar Ellefsen
://perl.apache.org/release/docs/1.0/guide/config.html#PerlSetupEnv Could we see your code (an excerpt showing the problem)? You might be doing something wrong when trying to set cookies. Furthermore, you should really be using CGI.pm, CGI::Cookie or Apache::Cookie for your cookie needs. -- Per Einar

Can't set multiple cookies?

2002-06-07 Thread Ken Miller
Ok, so continuing down the path of a single sign-on system, I've completed a rough framework, and it works fine. However, I thought it might be nice to segregate the various bits of information into different cookies. Unfortunately, setting multiple cookies doesn't seem to be working. Here

Re: Can't set multiple cookies?

2002-06-07 Thread Dave Rolsky
On Fri, 7 Jun 2002, Ken Miller wrote: Ok, so continuing down the path of a single sign-on system, I've completed a rough framework, and it works fine. However, I thought it might be nice to segregate the various bits of information into different cookies. Unfortunately, setting multiple

RE: Can't set multiple cookies?

2002-06-07 Thread Ken Miller
: Re: Can't set multiple cookies? On Fri, Jun 07, 2002 at 12:32:56PM -0500, Dave Rolsky wrote: On Fri, 7 Jun 2002, Ken Miller wrote: Ok, so continuing down the path of a single sign-on system, I've completed a rough framework, and it works fine. However, I thought it might be nice

Re: login.pl not sending cookies via POST?

2002-05-23 Thread Fran Fabrizio
(I haven't re-tested Apache::AuthCookieDBI.) I have no idea why POST _doesn't_ work, mind you... For what it's worth, my setup with AuthCookieDBI works just fine with POST. -Fran

Re: login.pl not sending cookies via POST?

2002-05-23 Thread Brian Reichert
On Thu, May 23, 2002 at 11:21:31AM -0400, Fran Fabrizio wrote: (I haven't re-tested Apache::AuthCookieDBI.) I have no idea why POST _doesn't_ work, mind you... For what it's worth, my setup with AuthCookieDBI works just fine with POST. I agree that is _should_; I've written such

login.pl not sending cookies via POST?

2002-05-22 Thread Brian Reichert
I have tried two different Apache::AuthCookie subclasses: Apache::AuthTicket 0.31 Apache::AuthCookieDBI 1.18 Apache::AuthCookie comes with an example login.pl, as well as does Apache::AuthCookieDBI. The symptom I was seeing: my browser would submit the form generated by login.pl: [Wed

Apache::AuthCookieDBI not sending cookies?

2002-05-21 Thread Brian Reichert
I've pawed though the archives, to no avail... I've almost, but not quite, have Apache::AuthCookieDBI working for me. The symptom I'm seeing (to my eye) is that my browser is never getting cookies sent back to it, even if I hand login.pl a valid user/password. (So I infer from the final error

Re: Any known gotchas with sending cookies?

2002-05-01 Thread karnurme
-Cookie = $cookie-as_string); # Guide: You should use err_headers_out() and not headers_out() # when you want to send cookies in the REDIRECT response. my ($cookie); foreach my $key (keys %{$hashref}) { $cookie = Apache::Cookie-new( $r

Any known gotchas with sending cookies?

2002-04-29 Thread Daisuke Maki
I'm really lost with this... I'm trying to set a session cookie from PerlAccessHandler. I'm basically doing (simplified code): my $cookie_jar = Apache::Cookie-fetch my $session_id = $cookie_jar-{ session }-value; if( !session_active( $session_id ) ) { my $session_obj =

Re: Any known gotchas with sending cookies?

2002-04-29 Thread Daisuke Maki
hmm, I still can't$B!!(Bget it to work, but it somehow works under LWP. the following code actually gets the cookie correctly, and no bogus sessions are created in my server. any ideas?? use strict; use LWP::UserAgent; my $ua = LWP::UserAgent-new(); $ua-cookie_jar({ file = "$ENV{ HOME

RE: Cookies and IE in mod_perl

2002-03-27 Thread Rob Bloodgood
I've determined that it isn't the redirect causing the cookies not to be set. If I take out the redirect, and just try to set a cookie w/o a redirect, it still doesn't set the cookies in IE. Does M$ have any docs on how IE6 handles cookies that I can look this up on? YES, they do. You have

Re: Cookies and IE in mod_perl

2002-03-24 Thread Jesse and Rebecca Stay
I've determined that it isn't the redirect causing the cookies not to be set. If I take out the redirect, and just try to set a cookie w/o a redirect, it still doesn't set the cookies in IE. Does M$ have any docs on how IE6 handles cookies that I can look this up on? On Saturday 23 March

Re: Cookies and IE in mod_perl

2002-03-24 Thread Michael Robinton
On Sat, 23 Mar 2002, Jesse and Rebecca Stay wrote: Ok - I got rid of the Apache::Cookie stuff, and am now doing things manually, but it still doesn't generate a cookie in IE. It still works in Netscape. I get a redirect, but no cookie. Here is my code: my $r = Apache-request;

Re: Cookies and IE in mod_perl

2002-03-24 Thread Balazs Rauznitz
On Sun, Mar 24, 2002 at 01:44:51PM -0500, Jesse and Rebecca Stay wrote: I've determined that it isn't the redirect causing the cookies not to be set. If I take out the redirect, and just try to set a cookie w/o a redirect, it still doesn't set the cookies in IE. Does M$ have any docs

Cookies and IE in mod_perl

2002-03-23 Thread Jesse and Rebecca Stay
Has anyone had any issues in getting cookies to work with IE using mod_perl? I have tried using both CGI::Cookie and Apache::Cookie, and in both instances it works just fine under Netscape, but on IE it doesn't even try to set the cookie. Any ideas? -Jesse Stay

Fw: Re: Cookies and IE in mod_perl

2002-03-23 Thread Frank Wiles
On Sat, 23 Mar 2002 18:52:14 -0500 Jesse and Rebecca Stay [EMAIL PROTECTED] wrote: Has anyone had any issues in getting cookies to work with IE using mod_perl? I have tried using both CGI::Cookie and Apache::Cookie, and in both instances it works just fine under Netscape, but on IE

Re: Cookies and IE in mod_perl

2002-03-23 Thread Jesse and Rebecca Stay
. On Saturday 23 March 2002 06:44 pm, Frank Wiles wrote: On Sat, 23 Mar 2002 18:52:14 -0500 Jesse and Rebecca Stay [EMAIL PROTECTED] wrote: Has anyone had any issues in getting cookies to work with IE using mod_perl? I have tried using both CGI::Cookie and Apache::Cookie, and in both instances it works

Re: Cookies and IE in mod_perl

2002-03-23 Thread Jesse and Rebecca Stay
[EMAIL PROTECTED] wrote: Has anyone had any issues in getting cookies to work with IE using mod_perl? I have tried using both CGI::Cookie and Apache::Cookie, and in both instances it works just fine under Netscape, but on IE it doesn't even try to set the cookie. Any ideas

Re: Cookies and IE in mod_perl

2002-03-23 Thread Jesse and Rebecca Stay
, copy it, then look at the header that Apache::Cookie is making. This oop cookie crap really bugs me since a cookie is just a stupid header line, not that big of a deal to parse, or write by hand. Abscraction is for things that make good objects and that are HARD, cookies in my opinon don't fit

Re: Fw: Re: Cookies and IE in mod_perl

2002-03-23 Thread Dzuy Nguyen
There are different security levels that must be set. You can also specifically tell the browser to accept all cookies from a particular domain. There is an article on MS site about this. I forgot what it was. You can probably search for it on google. Frank Wiles wrote: [EMAIL PROTECTED

Re: Cookies and IE in mod_perl

2002-03-23 Thread Cees Hek
Some browsers don't accept cookies sent allong with a redirect header. A simple workaround is to leave your cookie in the header, but move the redirect to a META HTTP-EQUIV tag in a blank HTML document. I'm not sure if IE 6.0 suffers from this but I suspect that this is your problem. So

Re: Cookies and redirects

2002-03-13 Thread Enrico Sorcinelli
On Tue, 12 Mar 2002 16:23:57 +0100 Axel Andersson [EMAIL PROTECTED] wrote: Hello, I'm having trouble with both setting a cookie and redirecting the user to another page at the same time. It would appear the cookie is only sent when a normal header is sent by server. If I do the following

Cookies and redirects

2002-03-12 Thread Axel Andersson
Hello, I'm having trouble with both setting a cookie and redirecting the user to another page at the same time. It would appear the cookie is only sent when a normal header is sent by server. If I do the following (having baked the cookie first), where $r is the Apache-request() object:

Re: Cookies and redirects

2002-03-12 Thread Geoffrey Young
Axel Andersson wrote: Hello, I'm having trouble with both setting a cookie and redirecting the user to another page at the same time. It would appear the cookie is only sent when a normal header is sent by server. this is a common problem - you have to add the cookie to the

Re: Cookies and redirects

2002-03-12 Thread Geoffrey Young
Geoff: I think I did this with my own module with no success... I'd end up with an extra set of headers, if I was _lucky_... perhaps that is due to a general misunderstanding of err_headers_out - they are sent _even_ on Apache errors (of which REDIRECT is considered one), not _only_ on

Re: Cookies and redirects

2002-03-12 Thread Hans Poo
El Mar 12 Mar 2002 11:23, Axel Andersson escribió: Hello, I'm having trouble with both setting a cookie and redirecting the user to another page at the same time. It would appear the cookie is only sent when a normal header is sent by server. If I do the following (having baked the cookie

Newbie help - My cookies won't bake?

2002-03-08 Thread Jeff Armstrong
Revered Chefs, Please forgive a mere mod_perl kitchen-hand, undergoing early cookie training... I have the following cookie code, but no cookies come back when I refresh, and I don't see any $HTTP_COOKIE in %ENV. $cookies ends up as a hash ref pointing to an empty hash. I have the following

Re: Newbie help - My cookies won't bake?

2002-03-08 Thread Geoffrey Young
Jeff Armstrong wrote: Revered Chefs, Please forgive a mere mod_perl kitchen-hand, undergoing early cookie training... I have the following cookie code, but no cookies come back when I refresh, and I don't see any $HTTP_COOKIE in %ENV. $cookies ends up as a hash ref pointing to an empty

Re: [OT] Opera Cookies

2002-02-12 Thread Vivek Khera
RL == Robert Landrum [EMAIL PROTECTED] writes: RL I've recently come across some interesting behavior with Opera on linux. RL When I set a cookie using CGI::Cookie and Set-Cookie: headers, and RL then perform a JavaScript redirect to another page, the cookie IS NOT In my experience, the

[OT] Opera Cookies

2002-02-08 Thread Robert Landrum
mean the cookie doesn't even seem to be present. Opera even says that it's going to set it (after turning on ask about cookies pref). Taking away the JavaScript redirect fixed the missing cookie problem, but still doesn't tell me why anything JavaScript related would have an effect on an HTTP

Re: MacOSX Requests and Cookies

2002-02-03 Thread Rick Frankel
On Fri, Feb 01, 2002 at 10:39:02PM -0500, Joe Schaefer wrote: ... Great - thanks a ton! Not so great. I'm half asleep. You need to do patch -r or, apply the forward patch included below... rick --- http_main.c~ Mon Jan 28 04:07:46 2002 +++ http_main.cFri Feb 1 19:22:51 2002 @@

Re: MacOSX Requests and Cookies

2002-02-03 Thread Joe Schaefer
John Siracusa [EMAIL PROTECTED] writes: Well, I can confirm that it still doesn't work for me... :-/ Is everyone using Perl 5.6.1 here? Because somehow some of the files I downloaded had the string perl500503 embedded in them. Even after search/replacing all that, I ended up with an httpd

  1   2   3   >