| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
AW: JSP session and curl
From: Christian Fanzott <christian_at_tacc.at>
Date: Wed, 28 Jul 2004 15:58:50 +0200
you have to check if any cookie is set and send it with your curl request by
-----Ursprüngliche Nachricht-----
Hey there!
Well, I'm new to the curl functions, so here's my first prob =)
The first page looks like this
https://test.com/jsp/direct_access.do?username=user&password=1234&id=1234567
When I copy&paste this link to my browsers address bar it works fine and on
I want to get the content of this link via CURL and put the output into a
"Session expired, please login".
How can I manage sessions with CURL? Dunno how it works actually...
Here's my php/curl code:
***************************************************
<?php
***************************************************
Can someone maybe even modify the code? I would be soooo grateful =)
I tried the cookie functions in curl but however I do not seem to get it
Btw, the headers look like this:
***************************************************
HTTP/1.1 200 OK
***************************************************
Thanks!
--- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.725 / Virus Database: 480 - Release Date: 19.07.2004 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.725 / Virus Database: 480 - Release Date: 19.07.2004Received on 2004-07-28 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info