I've never had any problems with cookies or sessions. Perhaps you could
explain in more detail what your problem is.
Mike
-----Original Message-----
From: htm...@li...
[mailto:htm...@li...]On Behalf Of Thorsten
Suckow-Homberg
Sent: Wednesday, July 21, 2004 8:54 AM
To: htm...@li...
Subject: [Htmlunit-user] Trouble with testing PHP apps (cookies...)
Hey everyone,
right now I write some UnitTests for a large PHP-Application using
HtmlUnit. The problem I have is that the http-client seems to append the
Session-ID automatically to links etc., while it shouldn't do that
(trans_sid is set to 0 in php.ini). The problem is that the UnitTest will
fail right at the beginning because Login-Information do not get stored.
How can I configure Cookie-Handling? Is there any way around this?
Who can help?
Answers appreciated :)
Thx 4 ur time
Regards
Thorsten
|