• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sessions DirectAction Apache Rewrite und Cookies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sessions DirectAction Apache Rewrite und Cookies


  • Subject: Sessions DirectAction Apache Rewrite und Cookies
  • From: ute Hoffmann <email@hidden>
  • Date: Tue, 16 Nov 2010 12:13:59 +0100

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sessions DirectAction Apache Rewrite und Cookies
      • From: Chuck Hill <email@hidden>
    • Re: Sessions DirectAction Apache Rewrite und Cookies
      • From: Farrukh Ijaz <email@hidden>
  • Prev by Date: Re: WebObjects scalability question - WOSession?
  • Next by Date: Re: Sessions DirectAction Apache Rewrite und Cookies
  • Previous by thread: Re: WebObjects scalability question - WOSession?
  • Next by thread: Re: Sessions DirectAction Apache Rewrite und Cookies
  • Index(es):
    • Date
    • Thread