Access Session variable across the hosts

Hi,

I am facing an issue. Please find the following scenario.

I have a login page which is under a secure host. When the login is successfull, the control will be directed to a non secure host, where I have to access a session variable which is set in the LoginPage (which is a secure host). Can I do this?

Can any one help me in solving this

regards,

Jo

Message was edited by:

JoshyzJava

[438 byte] By [JoshyzJavaa] at [2007-10-3 6:44:56]
«« Jtable
»» IPv6
# 1

To retreive a varable from another JVM or indeed another host you would need to use Remote Method Invokation (RMI), calling getSecureSessionID() or isSessionOK(sessionID) or whatever from the programme running in the remote JVM.

The method in general is floored unless the RMI is secure, I have no experience of encrypting this but I'm sure it is possible. You're non-secure-host must have the funcionality to communicate with the secure-host securly, otherwise the secure-host is not secure.

Bamkin

bamkin-ov-lestaa at 2007-7-15 1:34:38 > top of Java-index,Other Topics,Patterns & OO Design...