Discussion:
Cookies still don't work for opera
(too old to reply)
Marshall Dudley
2003-10-08 15:05:54 UTC
Permalink
I still cannot get Opera to accept cookies. I have checked and rechecked
the cookies and they conform to the standard. Also the cookie is being
thrown by a standard CGI library program, so why does Opera not work
with cookies????

Here is a capture of the full header of what is being sent when you go
to http://www.king-cart.com/cgi-bin/cart.cgi?store=kingcart:

Date: Wed, 08 Oct 2003 14:54:26 GMT
Server: Apache/1.3.28 (Unix) PHP/4.1.2 mod_perl/1.28 mod_ssl/2.8.15
OpenSSL/0.9.7b
Content-Type: text/html
Client-Date: Wed, 08 Oct 2003 14:54:26 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
P3P: CP="IDC DSP CURa ADMa DEVa OUR DELa STP IND PHY ONL UNI PUR COM
NAV"
Set-Cookie: AFFIL=; domain=.king-cart.com; expires=Wed, 31-Dec-1999
00:00:00 GMT;
Set-Cookie: cart_id=5418623.90439; expires=Thu, 9-Oct-2003 14:54:26
GMT; path=/cgi-bin domain=.king-cart.com

As can be seen, the set cookies are there, and there is no problem with
them at all. Only the second cookie should be stored, the first one is
to delete any of that cookie if it exists. The cart id is being set,
the expires is being set, the path is being set and the domain is being
set correctly.

So why does Opera, and only Opera, not accept it?

Any assistance would be appreciated. This is a long standing problem, as
far as I know Opera has never accepted cookies.

Marshall
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.

HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
Gunnar Hjalmarsson
2003-10-08 16:18:01 UTC
Permalink
Post by Marshall Dudley
Set-Cookie: cart_id=5418623.90439; expires=Thu, 9-Oct-2003 14:54:26
GMT; path=/cgi-bin domain=.king-cart.com
As can be seen, the set cookies are there, and there is no problem
with them at all.
Is there really a path named '/cgi-bin domain=.king-cart.com'?
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.

HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
Marshall Dudley
2003-10-08 15:36:14 UTC
Permalink
That is a library bug. I just edited the cgi library, and got rid of the
domain completely and now it works.

Thanks,

Marshall
Post by Gunnar Hjalmarsson
Post by Marshall Dudley
Set-Cookie: cart_id=5418623.90439; expires=Thu, 9-Oct-2003 14:54:26
GMT; path=/cgi-bin domain=.king-cart.com
As can be seen, the set cookies are there, and there is no problem
with them at all.
Is there really a path named '/cgi-bin domain=.king-cart.com'?
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.
http://www.thinkspot.net/ciwac/howtopost.html
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.

HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
Michael Budash
2003-10-08 16:52:00 UTC
Permalink
[top-posting corrected]
Post by Marshall Dudley
Post by Gunnar Hjalmarsson
Post by Marshall Dudley
Set-Cookie: cart_id=5418623.90439; expires=Thu, 9-Oct-2003 14:54:26
GMT; path=/cgi-bin domain=.king-cart.com
As can be seen, the set cookies are there, and there is no problem
with them at all.
Is there really a path named '/cgi-bin domain=.king-cart.com'?
That is a library bug. I just edited the cgi library, and got rid of the
domain completely and now it works.
what library are you using with such a glaring bug??
--
Michael Budash
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.

HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
Loading...