Check your rewrite rule and use [L, PT, QSA] where L - Last, PT - Pass Through, QSA - Query String Append.
Hope this may help. Farrukh On 2010-11-16, at 2:13 PM, ute Hoffmann wrote: > Hi, > I have a application which has sessions, but defaults to direct Actions. > > As a Apache rewrite of the URLs strips the wosid from the Direct Adtion URLS, > the session is lost with every click on a hyperlink. > > I tried to have the sessions stored in cookies in place of in the URL. But > the session loss > still takes place. > > This is what I did in session.java: > setStoresIDsInURLs(false); > setStoresIDsInCookies(true); > > The URL in Cookies seemed to work for wo-links but not for the directAction > links. > > Question: > a) Does someone know whether Apache rewrite strips the URL by rewriting from > cookies as well? > b) Does Session in Cookies work in connection with direct Action and the > call to existing Session in the directAction? > c) Did I miss something when changing between Session in URL and Cookies, do > I need more than the > above (Change session Store to cookies in Session) to get this working with > DirectActions? > > > Thanks for your help. The App is running wonder (the version from 2007, wo > 5.5). > > Regards, > > Ute > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com > > This email sent to farrukh.i...@fuegodigitalmedia.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com