• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOCookie & Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >RE: WOCookie & Safari (From: Andrew Lindesay <email@hidden>)
 >Re: WOCookie & Safari (From: "Yung-Luen Lan" <email@hidden>)

  • Prev by Date: Re: Do DA's add a page to the app's cache ?
  • Next by Date: Re: Inherited Relationships using Different Destinations
  • Previous by thread: Re: WOCookie & Safari
  • Next by thread: WOMailDelivery error message
  • Index(es):
    • Date
    • Thread