• 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
Re: Wosid suppression broken in 5.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wosid suppression broken in 5.4?


  • Subject: Re: Wosid suppression broken in 5.4?
  • From: "Mr. Pierre Frisch" <email@hidden>
  • Date: Thu, 20 Dec 2007 03:59:21 -0800

Anjo,

Before you go in this kind of pronouncements I have a few points to make.

The reason this works the way it works is because we would like to support query dictionaries on URLs. The current behavior is the default for WOHyperlink i.e. we handle the query dictionary and fragment identifiers. We therefore append the URL with the correct information. Part of the query dictionary is the session ID. The session ID is NOT included if either of this is true:
No session exist before the call (typically a direct action)
or The session id is not stored in the URL (i.e. it is stored in the cookie)
or There is a binding ?wosid=false
or  The query dictionary contains a key wosid bound to Boolean.FALSE

This is the correct behavior for links inside the current web site. I agree that this not correct for links out of the current web site, this however causes a problem as there is no way for WebObjects to determine what is inside and what is outside of the current Web site, only the Web server can.

Changing the behavior is quite straight forward as the query dictionary is computed in the context:
public NSDictionary<String, Object> computeQueryDictionary(String aRequestHandlerPath, NSDictionary<String, Object> queryDictionary, NSDictionary<String, Object> otherQueryDictionary)
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

  • Follow-Ups:
    • Re: Wosid suppression broken in 5.4?
      • From: Andrew Lindesay <email@hidden>
    • Re: Wosid suppression broken in 5.4?
      • From: Kieran Kelleher <email@hidden>
    • Re: Wosid suppression broken in 5.4?
      • From: Mike Schrag <email@hidden>
    • Re: Wosid suppression broken in 5.4?
      • From: Anjo Krank <email@hidden>
References: 
 >RE: Wosid suppression broken in 5.4? (From: "James C. Lee" <email@hidden>)
 >Re: Wosid suppression broken in 5.4? (From: Anjo Krank <email@hidden>)

  • Prev by Date: WebObjects Freelancer needed in Düsseldorf, Germany
  • Next by Date: Re: Wosid suppression broken in 5.4?
  • Previous by thread: Re: Wosid suppression broken in 5.4?
  • Next by thread: Re: Wosid suppression broken in 5.4?
  • Index(es):
    • Date
    • Thread