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
|