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
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
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
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
[ 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
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
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
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
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
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
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
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 =
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
/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
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
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
. 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
, 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
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
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
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
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
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
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,
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
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
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
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
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
- 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
);
$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/
* 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
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
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
/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
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
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
/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]
://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
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
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?
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
(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
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
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
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
-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
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 =
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
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
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
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;
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
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
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
.
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
[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
,
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
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
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
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
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:
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
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
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
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
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
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
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
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
@@
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 - 100 of 262 matches
Mail list logo