News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Multiple send/receives within the same SSL Connection  
by Kevin [kwhite at healthaxis dot com]
posted on 2004/12/09

I am implementing a web client that uses the SecureSocket class. The server I am connecting to has a login page that I have to login to before I can access the other pages. Whats happening is, I can login (via a POST), but the Socket closes immediately after i receive the response. I am not calling the Close or Shutdown methods. I need to make additional calls while using the same SSL Socket connection. How do I do this, or does the current version support this?

using seclib-1.0
[assembly: AssemblyVersion("1.0.13.709")]

by Kevin
posted on 2004/12/10

You can ingnore this. I didnt realize that this is the way it is supposed to work and that a "session" is really not the same as a connection.

If anyone is intersted:
The way this works is via cookies, and I just needed to capture the Set-Cookie: in the reply and return the Cookie: when connecting to additional pages on that site. A new connection is created for each page I need to "browse" to.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.