Re: A problem with http request to a webobjects site
Re: A problem with http request to a webobjects site
- Subject: Re: A problem with http request to a webobjects site
- From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
- Date: Thu, 19 Apr 2012 12:19:55 +0200
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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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