Re: recuperate session from a directAction
Re: recuperate session from a directAction
- Subject: Re: recuperate session from a directAction
- From: Andres Toussaint <email@hidden>
- Date: Sun, 6 Feb 2005 10:37:05 -0600
Thanks Ute and Stephane,
It seems that my DirectAction is creating a new session every-time it is called. I am not using cookies for sessionID and the URL is being generated by WOActionURL. My call to DirectAction has also POST information.
to come back int the same session for one instance of your application, you need wosid and woinst.
Are you using URL rewriting ( wosid and woinst in all urls generated by WO) or are you using storeIDsInCookies ?
How do i get the woinst? My url has the wosid only.
Here is the toString() from the request in my directAction:
--- the request :<com.webobjects.appserver.WORequest (<com.webobjects.appserver.WORequest httpVersion=HTTP/1.1 headers={user-agent = (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.12); host = (claudiat.local:51780); accept = (*/*); content-type = ("image/svg+xml"); accept-encoding = (gzip, deflate;q=1.0, identity;q=0.5, *;q=0); content-length = ("1541"); accept-language = (en, ja;q=0.92, ja-jp;q=0.96, fr;q=0.88, de-de;q=0.85, de;q=0.81, es;q=0.77, it-it;q=0.73, it;q=0.69, nl-nl;q=0.65, nl;q=0.62, sv-se;q=0.58, sv;q=0.54, no-no;q=0.50, no;q=0.46, da-dk;q=0.42, da;q=0.38, fi-fi;q=0.35, fi;q=0.31); connection = (close); } content-length=1541 cookies=null userInfo=null>) method=POST uri=/cgi-bin/WebObjects/embed.woa/wa/saveit?wosid=HbnbQ6WYK2CQvOgUMzL9Jw defaultFormValueEncoding=ISO8859_1 formValueEncodingDetectionEnabled=NO formValueEncoding=ISO8859_1 formValues=null >
--- the getSessionIDForRequest :null
--- the existingSession():null
--- the Query Values: wosid=HbnbQ6WYK2CQvOgUMzL9Jw [(
this.request().queryString())]
Thanks,
Andres.
_______________________________________________
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