Aug 22, 2000 #1 celley Programmer Jul 31, 2000 54 A2 How do I end/kill a session or session varriable? I imagine that I need to do it with a StructDelete() function, but how? Any ideas? Chad
How do I end/kill a session or session varriable? I imagine that I need to do it with a StructDelete() function, but how? Any ideas? Chad
Aug 22, 2000 #2 gunawandjon MIS Jun 16, 2000 24 SG You can try to delete the variable that you created before when you start the session. for example in the beginning of session you have done this <cfset session.authenticated=1> <cfset client.userid=#userid#> then to terminate the session you can do this <cfset session.authenticated=0> <cfset clientdeleted = DeleteClientVariable("userid"> And don't forget to enable the client management & session management. Djon Upvote 0 Downvote
You can try to delete the variable that you created before when you start the session. for example in the beginning of session you have done this <cfset session.authenticated=1> <cfset client.userid=#userid#> then to terminate the session you can do this <cfset session.authenticated=0> <cfset clientdeleted = DeleteClientVariable("userid"> And don't forget to enable the client management & session management. Djon
Aug 23, 2000 #3 Bromrrrrr Programmer Mar 31, 2000 30 NL You can use Structclear(Session)....it gets rid off all session variables. Bromrrrr Upvote 0 Downvote
Aug 23, 2000 #4 Nomad2 Programmer Aug 30, 2002 9 US i have tried using Structclear(Session) however nothing seems to happen. by the way, i am using CF4.0 Solaris. Is there any other way to destroy session. Upvote 0 Downvote
i have tried using Structclear(Session) however nothing seems to happen. by the way, i am using CF4.0 Solaris. Is there any other way to destroy session.