• 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 after browser restart?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOCookie after browser restart?


  • Subject: Re: WOCookie after browser restart?
  • From: Jesse Tayler <email@hidden>
  • Date: Mon, 17 Sep 2018 12:50:01 -0400

I think I’ve tried everything I could think of —

Do you have say, a login cookie that lasts after browser restart?

Paste in your initializer and I’ll try it —

I read something about setting the setExpires specifically to nil  and tried it
any number of ways.



> On Sep 17, 2018, at 12:47 PM, Theodore Petrosky <email@hidden> wrote:
>
> Jesse,
>
> I see that there are overloaded constructors. maybe it doesn’t like being set
> once it is created!
>
>
> WOCookie cookie = new WOCookie(“USER_ID", userIdentifierCode, "/", null, -1,
> null, true);
> (remove the setExpires)
>
> public WOCookie(final String name, final String value, final String path,
> final String domain, final NSTimestamp expires, final boolean isSecure) {
>               this(name, value, path, domain, expires, isSecure, false);
>       }
>
> just curious if setting the expires in the constructor does anything
> different!
>
>
>
>> On Sep 17, 2018, at 11:44 AM, Jesse Tayler <email@hidden> wrote:
>>
>> Hi All
>>
>> I’ve tried fussing around with various arguments but for whatever reason my
>> WOCookie always dies when the browser restarts?
>>
>>      WOCookie cookie = new WOCookie(“USER_ID", userIdentifierCode, "/",
>> null, -1, true);
>>      cookie.setExpires(null);
>>
>>
>> I’ve tried various expires and timeout combinations can anyone say what it
>> is that I’m doing wrong ?
>>
>> Seems DISTANT FUTURE is a common need, so I’m confused!
>>
>> thanks
>>
>>
>>
>> _______________________________________________
>> 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

  • Follow-Ups:
    • Re: WOCookie after browser restart?
      • From: Klaus Berkling <email@hidden>
References: 
 >WOCookie after browser restart? (From: Jesse Tayler <email@hidden>)
 >Re: WOCookie after browser restart? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: WOCookie after browser restart?
  • Next by Date: HTTP Adaptor settings
  • Previous by thread: Re: WOCookie after browser restart?
  • Next by thread: Re: WOCookie after browser restart?
  • Index(es):
    • Date
    • Thread