[TYPO3] Curl login need to set cookie

Dmitry Dulepov [typo3] dmitry at typo3.org
Fri May 9 23:21:54 CEST 2008


Michael Hill wrote:
>   I've written a script that logs a user in(sr fe user registration/better
> login box) via curl and every thing is going fine, it even lets the user
> know that they are logged in.  However, it also has the message 'Warning:
> There is a possibility that cookies are not enabled in your webbrowser! If
> your login disappears on your next click that is the case and you should
> enable cookies (or accept cookies from this website) immediately!'   . Has
> anyone been able to set the cookie via curl or know how?

HTTP specification will tell you how... Generally you need to supply HTTP header for that.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-english mailing list