curl-and-php
[Cookie] Handle a servlet session.
Date: Wed, 16 Oct 2002 11:54:22 +0200
Hi all,
here is my problem: I want to post data on a jsp form, but before accessing
to the form
I have to post an username and a password on a previous jsp login page.
My problem is that when I post the username and password, I receive the same
login
page as previously, there is no link between the log page and the "after
login" page.
The problem is to handle the servlet session I think (jsession_id in the
header) but I don't exactly know how
to do that yet.
I found a post explaining the same issue but there is no answers to it:
http://curl.haxx.se/mail/curlphp-2001-10/0020.html
The idea could be to get the jsession_id from the header when connecting to
the servlet server
and then to add it in each request that I send. I try to use CURLOPT_COOKIE,
CURLOPT_COOKIEJAR,etc.
but I have to test them to know exactly what they do.
Do you think it is possible to handle a servlet session?
Thanks.
Jerome.
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
Received on 2002-10-16