The session data exists only in memory on the server side and the client
applet has no knowledge of them and no way to directly access them on the
server.  You could have a cfm page configured to serialize the session
parameters and the applet could periodically connect back to the server to
this special page in order to view the serialized session data, and then the
applet could replicate the session data internally on the client each time.


-Steven Erat

  _____  

From: Dr ML [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 9:13 PM
To: CF-Talk
Subject: J2EE SessionID with CFMX6.1 and Applets

Hi everyone! I am having a problem and hopefully someone here can give me a
hand. I have an appication running in J2EE, CFMX 6.1. When the user logs in
to the system, a series of session values are set. On one of the pages, a
java applet runs that uploads a file. I need to share the user's SESSION
values with the applet so the system knows what to do with the file and the
security measures don't activate.

I tried passing URLtoken in the URL that the applet uses, but this fails. I
also attempted to put the jsessionID in the URL as index.cfm;jsessionID=1234

None of the approaches that I have used so far work. The Java console shows
that that applet is being caught by the security system and isn't seeing any
of the user's session values. Can someone please tell me how to pass the
session values to an applet?

Thanks,

Mark
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to