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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>
> This email sent to [email protected]
--
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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
