Hi Jérémy, is that WO application an external site or do you have access to it (meaning logfiles, code, …)? If you are getting the backtrack error then I would suppose that you are getting an old session instead of a new one. Apparently your access submits something that makes WO think you are on a different session and then does not find the requested state in its page cache. What does the URL you send your POST request to looks like? Is there a sessionID in the URL that could override the one in the cookie? Is there another woinst number in it so your request gets routed to a wrong instance?
jw Am 20.04.2012 um 12:09 schrieb User: > My application is written not in WebObjects. I use php framework > CodeIgniter.. How can I use WODirectAction? > > 19.04.2012 13:19, "Jérémy DE ROYER [INGENCYS]" написал: > Do you use WODirectAction ? If not, it might be a study point. > > Jérémy > > Le 19 avr. 2012 à 08:49, User a écrit : > >> Hi! There's a site on WebObjects with a registration and authorization. I >> write a code that will register automatically on that site(a code on another >> server, on my site). I want to realize this with a HTTP POST request (PHP). >> On that WO-site everything is simple: >> - Main page with an authorization form. (Link to register-form page below) >> on start this page send back http-header asking "browser" to set these >> cookie: >> 1. wosid=4Q2VQfhC5r2Dcu27brmZH0; >> 2. woinst=-1; >> 3. JSESSIONID=6DE82EE80322335D4582FFE33C8F7128; >> Then i press a link "register" and go to a register-form page. >> my browser sends back those cookie: wosid, woinst and JSESSIONID. >> I fill in a form. Press "Register" submit button. Page reloads and says me >> that i've just registered. >> That's all. >> >> A wrote a php code that sends a http GET request to the main page of that >> WO-site to get those cookie(wosid, woinst and JSESSIONID) >> A save cookie and send it to a WO-site server, but in the http POST request >> and with required post data (to the url that pointed in "action" attribute >> of the form on the register-form page) >> >> I expect that server will return me some "success page" but it returns >> "You backtracked too far. >> The application backtracking limit of 30 has been exceeded." >> >> What does it mean? >> >> Can anyone help me with this? =) Any suggestions? _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
