Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access socket layer in SS page or bus. obj.

Status
Not open for further replies.

ooper

Programmer
Sep 18, 2003
2
0
0
US
Does anyone know if there is a way to get down to the socket layer in a SilverStream page or business object? I want to get a java.net.SocketImpl object so that I can call its .close() method to close the socket.

I am hoping that this will immediately cause an invalidated session to be removed from the SilverStream server. (ver 3.7.5)

I have noticed that after I invalidate a session, the session on the server stays there (if the server is not under heavy load). If I then close the browser, the session immediately goes away. I am suspecting that it immediately goes away because the socket gets closed.

Bottom line: I need a way to programmatically force a session to die (not appear in the list of sessions in the Server Management Console). It appears that session.invalidate() only causes this to happen after the browser is closed or if the server is under heavy load.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top