Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
MDichi #1
CF can't access session variables with Java
We are updating an application, moving more of the business logic to Java.
Right now a great deal of the business logic resides in CF. As part of a test,
a large part of the logic was moved to java classes, which are called from the
CF. Note that right now we are still using CF 4.5.1. We are also using jdk
1.4.2_07.
I've isolated the problem to this situation. There are two users. The first
user executes two web pages. The first page creates a java object and stores
it in a session variable. The second page refreshes repeatedly (using a META
tag with a refresh) and calls a method on the object in the session.
The second user accesses a web page that simply creates a java object (of a
different class from the first user).
When the second user accesses his web page, the first user's web pages stops
with an "Unhandled Exception" error.
I've further isolated the problem. If I don't store the first user's object
in a session variable and create it (using CFOBJECT) on the second web page,
everything works!
Why? It appears that CF has difficulty accessing one user's session variable
when it contains a java object. At first I thought the session variables were
lost. But if I refresh the first user's page after the error, it continues
running. Maybe this is a known problem in CF 4.5.1?
MDichi Guest
-
#39833 [NEW]: Session variables overwritten by local variables (register_globals=off)
From: sup1382 at accedo dot es Operating system: OpenBSD 3.9 PHP version: 5.2.0 PHP Bug Type: Session related Bug... -
#39447 [NEW]: Want to optionally handle apc_upload_progress variables using session variables
From: krudtaa at yahoo dot com Operating system: All PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug... -
Unable to access Session variables
Hi, I am a newbie - any help is appreciated. My login_action.cfm is : ------------------------------ <cfif NOT IsDefined ('form.LoginId')>... -
Access other users' session variables? Know how many connected ?
Hi I'm currently working on a commerce site where users can buy paintings or drawings that are unique. So how to prevent somebody to try to buy a... -
Session problem when setting session variables in files that are in different directories
I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with sessions. What I am building is a loginsystem and I need to save...



Reply With Quote

