On 20 March 2011 21:50, Seth Mos <[email protected]> wrote:
> I use curl from within PHP with cookies and can succesfully login to the ui 
> with that. You need something that keeps state and cookies won't do.

Now this might be a lack of knowledge from my side, but here goes:
HTTP in itself is a stateless protocol, and as such, to keep states
across a session one needed to implement something to keep track of
this state. And et' voila came the introduction of cookies, to store
session information.

But from what you just said, you say that isn't the case, and to be
quite honest that confuses me. So if curl with cookies can't keep this
state information, what can (and why can curl within PHP do this, and
not curl from the command line?).

-- 
Yours sincerely Jostein Elvaker Haande
"A free society is a place where it is safe to be unpopular"
- Adlai Stevenson

http://tolecnal.net -- tolecnal at tolecnal dot net

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to