i have this problem. i managed to kill the session when the user logout by
using the code below :
<cflock timeout="30" name="#session.sessionid#" type="EXCLUSIVE">
<cfset StructClear(session)>
</cflock>
and after that i refirect the user to my login page again from the logout
page, and i re-login again, but after a successful re-login i encountered
this error :
An error occurred while evaluating the expression:
"#session.sessionid#"
Error near line 23, column 31.
----------------------------------------------------------------------------
----
Error resolving parameter SESSION.SESSIONID
Attempt to access a session variable when session management has not been
enabled.
Before session variables can be used, the session state management system
must be enabled using the CFAPPLICATION tag. Please refer to the
documentation on CFAPPLICATION. If you are using the file "Application.cfm",
you should verify that the filename has the correct case as shown.
Note: This feature may have been disabled by the site administrator.
fyi, i have this code in my application.cfm
1. <cflock timeout="30" name="#session.sessionid#" type="READONLY">
2. <cfif NOT IsDefined("session.userlogin")>
3. <cfset message = "this is first time login">
4. <cfset session.userlogin = 1>
5. </cfif>
6. </cflock>
seems like the error happened on line 1, don't CF create another new session
once i killed the current session and after a successful re-login?
any idea please?
thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com