Re: WOCookie & Safari
Re: WOCookie & Safari
- Subject: Re: WOCookie & Safari
- From: Chuck Hill <email@hidden>
- Date: Fri, 5 Sep 2008 11:21:56 -0700
On Sep 5, 2008, at 7:53 AM, Yung-Luen Lan wrote:
Uh, to be more pricisely, my problem is not because WO won't parse
empty cookie properly.
My problem is, cookie containing wosid and woinst will be deleted
after quitting browser. Hence, there's no way to implement function
like "login automatically."
Digging into this problem, I found that my session cookie generated by
WO 5.4.2 contains empty expire field, which make the browser
automatically remove it on quit.
This is as it should be.
Is there any way to keep session cookie after quit browsers?
You don't want to. You want to create your own cookie with the user
identity in it.
Chuck
On Fri, Sep 5, 2008 at 6:43 PM, Andrew Lindesay <email@hidden>
wrote:
Hello Yung-Luen;
I think these empty cookies will parse in WO 5.4.2 now, but the
application
server will log an error each time which is a bit annoying. I get
my error
log lines emailed to me so it was actually very annoying for a
short while
there! For this reason, I left that code (maybe slightly improved)
in situ
and also implemented something similar here...
WOApplication.handleMalformedCookieString(..)
...to strip those empty cookies as well.
cheers.
Is this issue fixed in 5.4.2? I still encountered this problem (Not
only Safari 3, but also FireFox 3 delete my cookie on quit) in
5.4.2.
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden