Sorry to sound dumb, but is it okay just to take the SSLeay.pm object inside LWP and set the SessionID in it at some strategic point so that the session is effectively preserved? Seems like that would be straightforward. >From what I saw, there were a lot of Autoloaded C functions, one of which must be the thing to use for that...if I knew the right syntax requirements.
Philip Stoev wrote:The NET::SSLeay module uses persistent session IDs and I have been using itYeah, I just tried something that Andrew Leppard kindly suggested worked for him, and it didn't change my behavior. The problem is with a handshake on a private proxy that I cannot give further information out about, but I'm using LWP with SSLeay, and I go through the handshake sequence and then try to access the internal web page only to be given the password page again. All feedback is appreciated. I know it's hard to give good information since I can't be clear about the entire context of my situation. Code sample would definitely be welcomed. Protocol enlightenment might also be part of what I need, but according to what I saw on some other posts, the problem may be more towards the LWP side. To be clear though, part of the outstanding problem is that the sessionID changes in the middle of the handshake, and that is apparently why I get the password page again. Also, it's not a server problem because it works with Netscape. It only fails with my Perl/LWP script doing the handshake.
successfully in such situations. Please let me know if you can not make it
work and I will give you a code sample.Sincerely, Xeno
Philip
----- Original Message -----
From: Xeno Campanoli
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Sent: Friday, March 09, 2001 1:29 AM
Subject: [Fwd: MARC: msg 'Crypt::SSLeay - session support?']Say Andrew,
Did you ever get this problem figured out? I seem to be having a similar
situation. I try to do
this negotiation which works just fine from netscape, but somehow, though
for the first few steps
the session ID stays the same, at one point I get a new session Id back to
LWP and the content is
the original password prompt page again. Any feedback is appreciated.One of the things I was wondering was whether I needed to somehow use the
"proxy" method or some
proxy specific facility to make this go. I really want to do things step by
step, but if there's
a trick that makes it work for now, it would be better than nothing. I read
the two replies on the
group too. Nothing helps so far. Again, any response is welcome.Sincerely, Xeno
--
Xeno Campanoli (erstwhile Xeno Whitenack, and Rick Burgess)
Email: [EMAIL PROTECTED] (Web pages: http://www.aa.net/~xeno)"...That side was made for you and me..." - Woody Guthrie
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]-- Xeno Campanoli (erstwhile Xeno Whitenack, and Rick Burgess) Email: [EMAIL PROTECTED] (Web pages: http://www.aa.net/~xeno)"...That side was made for you and me..." - Woody Guthrie
-- Xeno Campanoli (erstwhile Xeno Whitenack, and Rick Burgess) Email: [EMAIL PROTECTED] (Web pages: http://www.aa.net/~xeno) "...That side was made for you and me..." - Woody Guthrie