• 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: Cookie WOs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cookie WOs


  • Subject: Re: Cookie WOs
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 05 Oct 2011 19:19:51 -0700

That sounds like you have some bad HTML or CSS that is causing the browser to make a request that is creating a new session.  You can override dispatchRequest() in Application to log out the incoming URLs and the cookie request header.  You can also add something like logger.info("Session created now", new RuntimeException()); in your Session constructor to prove to yourself when the new session is getting created.


Chuck



On 2011-10-05, at 6:27 PM, Johnny Miller wrote:

> Hi,
>
> I'm storing the session id in cookies instead of the url and for some reason (and this only occurs in deployment) a new session keeps getting created.  So, if I look at the cookie's id in web inspector I can see that a new value is added to wosid every time I page changes.  Not really doing anything fancy, I just have a DirectAction based site that has a session based shopping cart.
>
> Using WO 5.4.3 and pretty recent version of Wonder.
>
> Any advice on how to track this down?
>
> Thanks in advance,
>
> Johnny Miller
> Kahalawai Media Corp.
> www.kahalawai.com
>
>
>
> _______________________________________________
> 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

  • Follow-Ups:
    • Re: Cookie WOs
      • From: Mark Ritchie <email@hidden>
References: 
 >Cookie WOs (From: Johnny Miller <email@hidden>)

  • Prev by Date: Cookie WOs
  • Next by Date: Re: Cookie WOs
  • Previous by thread: Cookie WOs
  • Next by thread: Re: Cookie WOs
  • Index(es):
    • Date
    • Thread