Re: Cookie WOs
Re: Cookie WOs
- Subject: Re: Cookie WOs
- From: Mark Ritchie <email@hidden>
- Date: Wed, 05 Oct 2011 19:42:40 -0700
I would set -WORecordingPath and look at the requests and responses however that's kinda an old way and not sure how that plays with the current infrastructure.
M.
On 5/Oct/2011, at 7:19 PM, Chuck Hill wrote:
> 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
_______________________________________________
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