Hi all,

I've just noticed some rather strange behavior concerning the
session.sessionid variable.

Basically I have declared an application variable in Application.cfm which
stores an array of the form:

application.sessionref[session.sessionid] = session.sellcustomer

The array is used to help track which user (salesperson) is dealing with
which customer at any given time. Now, I have a very basic logout function
which utilises structclear(session) as part of it's "clean-up" operations
then redirects the user to the application login page. However, this results
in session.sessionid being entirely unavailable in the session scope, hence
rendering my app inaccessible due to the error thrown by Application.cfm.
The only way to return things to normal at this point is to restart the
Coldfusion server.

To clarify - the sessionid variable no longer exists within the session
scope after a structclear(session), despite my understanding that sessionid
is one of the cf built-in session variables. I'm not trying to retain the
value of the variable after logout (structclear) but simply wish for the
variable to be available immediately afterwards (in the newly constructed
session structure).

Anyone any ideas on this?

Environment: CFMX U3 on RH7.2 with Apache 2.0.43

Thanks,
Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137459
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to