Re: href path components
Re: href path components
- Subject: Re: href path components
- From: Sam Barnum <email@hidden>
- Date: Sun, 8 Feb 2004 17:59:29 -0800
One thing to consider: THere's nothing stopping a user from just
removing the "premium" from the URL, and accessing the premium service
without paying for it.
I'd recommend creating a "premium" WODirectAction, with the part after
"premium" in the URL determining which resource to load.
On Sunday, February 8, 2004, at 01:43 PM, Richard Bruch wrote:
Hello List,
we develop an app for Vodafone PartnerML interface. They support
automatic
billing provided that your paid links contain the "folder" with the
name
"premium". For example /xxxapp/folder1 is a free link while
/xxxapp/premium/folder2 is a paid link. At a first glance there is no
means to
influence how WO generates component action urls. But by playing
around a
little with them i found out that a link
http://localhost:1220/cgi-bin/WebObjects.exe/xxxapp.woa/wo/premium/
F00000RN40
0aE1001/0.0.13.0.0.0.1.0
behaves exactly like
http://localhost:1220/cgi-bin/WebObjects.exe/xxxapp.woa/wo/
F00000RN400aE1001/
0.0.13.0.0.0.1.0.
The same component is found and its invokeAction function is called.
So while
that's a good news i found no hints in the documentation cofirming
that this
is legitimate. Is it a clean solution simply to replace "wo" with
"wo/premium"
or maybe there exists a better one ?
Thanks in advance,
Richard
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.