Re: Sessions and resources
Re: Sessions and resources
- Subject: Re: Sessions and resources
- From: Chuck Hill <email@hidden>
- Date: Fri, 15 Apr 2011 10:20:52 -0700
What specifically are you logging to get that session ID? sessionID from WORequest? See the JavaDoc:
> Returns the session ID if there is one. This method first looks for the session ID in the URL, then checks the form values, and finally checks to see if the session ID is stored in a cookie.
That is just logging what got sent with the request. It looks like this is in a cookie, so that is just logging a cookie value, not creating or using a session.
Chuck
On Apr 14, 2011, at 3:15 PM, Mark Wardle wrote:
> During debugging of other things, I overrode dispatchRequest() in my
> Application class.
>
> Oddly, there is a session ID associated with every /wr/ request for resources.
>
> dispatchRequest(): session: t73fX3HunlN1WUbxfbUB5g
> Apr 14 22:11:44 RSNews[5555] DEBUG com.eldrix.news.app.Application -
> uri: /cgi-bin/WebObjects/RSNews.woa/-5555/wr/wodata=/Users/mark/Dev/eclipse/rsdb/Applications/RSNews/build/RSNews.woa/Contents/WebServerResources/images/unknown_user.jpg
> Apr 14 22:11:44 RSNews[5555] DEBUG com.eldrix.news.app.Application -
> form values = {}
>
> My own session() constructor is not called.
>
> Is this normal behaviour for requests to the /wr/ handler?
>
> I am using Wonder.
>
> Mark
> --
> Dr. Mark Wardle
> Specialist registrar, Neurology
> Cardiff, UK
> _______________________________________________
> 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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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