[OU] Cookie problem in Opera 9
Sumanta Seal
seal_sum at yahoo.co.in
Fri Oct 26 08:01:46 UTC 2007
Hi,
I am using Opera 9.24 in Windows XP. I have a simple client-server program, where the server generates a cookie of its own and sends it to the client browser when the client browser hits the server first time. From next onward, when the client browser hits the server, the server modifies the MaxAge of the cookie and return it to the browser. Each time the client hits the server, the server explicitely sets the path of the cookie as "/" and the MaxAge of the cookie. It is not setting the domain of the cookie.
Now the problem is that Opera removes this cookie when the browser is closed. I have my Cookie setting in the browser as follows -
1. "Accept cookies" is enabled
2. "Delete new cookies when exiting Opera" is unchecked
3. "Ask me before accepting cookies" is checked
and the History setting in the browser have "Check documents" set to "Always". The other properties contains their default values.
When the server sends the cookie (either in the first hit or in successive hits), the "Manage Cookies" option in Tools->Preferences->Advanced->Cookies shows my cookie value with the server IP Address. I verified the "cookies4.dat" file and found my cookie is present there. But once I close the browser and reopens it, the cookie is lost. The cookie entry is removed from the file cookie4.dat and the "Manage Cookie" only shows the server IP address, no cookie value is there under that address. It seems that Opera considers the cookie as session cookie even though I did set the cookie MaxAge with a valid age-value.
The same program wroks fine in IE and Mozilla, i.e., these browsers are not removing cookies while exit from the browser.
Do anybody have any idea on this ? Is there anything I have to do programatically with my cookies in the server ?
Sumanta
---------------------------------
Explore your hobbies and interests. Click here to begin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.opera.com/pipermail/opera-users/attachments/20071026/aaabaa83/attachment.htm
More information about the Opera-Users
mailing list