Curl Global Community
Session Cookies - セッション - Printable Version

+- Curl Global Community (https://communities.curl.com)
+-- Forum: Blogs (https://communities.curl.com/forumdisplay.php?fid=17)
+--- Forum: Tech blog (https://communities.curl.com/forumdisplay.php?fid=18)
+---- Forum: Robert blog (https://communities.curl.com/forumdisplay.php?fid=20)
+---- Thread: Session Cookies - セッション (/showthread.php?tid=494)



Session Cookies - セッション - RobertShiplett - 05-11-2012

I noticed when working on a small user utility that session cookies are lasting not for the "browser" session but for the Surge RTE "session". Even with {on-applet-suspend do {exit 0}} and with no applets reported by the Curl Manager, my session cookies only clear when the process surge.exe is cycled.

I have only checked this using IE 8 and Firefox 12 on XP with curl9 (Curl 8.0)

The one mention which I found in the docs is as follows:

|| Expires and other fields may return null,
|| If expires means null, then this is a cookie
|| that only lasts until the current session
|| ends (i.e. user closes the browser) .
but this is not my result in my few tests. Those few tests used .curl applets and NOT applets as HTML embedded objects (the url is to a .curl page.)

It may be worth bearing in mind if you use, say, the set cookies proc.




RE: Session Cookies - セッション - RobertShiplett - 05-11-2012


Embedding setter and getter Curl applets as objects in HTML pages has no effect on this behavior.

(1)
Set session cookies with Firefox; close browser;
open IE - result: "session" cookies get OK

(2)
Set session cookies with Firefox; close browser;
Surge RTE cycled off/on
open IE - result: "session" cookies not found.