scripter73
Programmer
Hi,
I have an application that uses session variables. On the last page of my application, I want the user to click a link that will ultimately log them out and redirect them to the start of the application.
I've set it up so that when user clicks on link, it calls a program logout.cfm:
<cflock timeout="1" name="#session.sessionid#" type="exclusive">
<cfset structclear(session)>
</cflock>
<cflocation url = "
But I'm getting the message, "Error resolving parameter SESSION.SESSIONID
The session variable SESSIONID does not exist. The cause of this error is very likely one of the following things:
The name of the session variable has been misspelled.
The session variable has not yet been created.
The session variable has timed out.
"
Here's what my application.cfm file looks like also:
<cfapplication name="charter"
clientmanagement = "YES"
sessionmanagement = "YES">
I know that I have session variables set throughout my app.
Why isn't it logging out and redirecting to my page? Please advise when you can.
Thanks,
scripter73
I have an application that uses session variables. On the last page of my application, I want the user to click a link that will ultimately log them out and redirect them to the start of the application.
I've set it up so that when user clicks on link, it calls a program logout.cfm:
<cflock timeout="1" name="#session.sessionid#" type="exclusive">
<cfset structclear(session)>
</cflock>
<cflocation url = "
But I'm getting the message, "Error resolving parameter SESSION.SESSIONID
The session variable SESSIONID does not exist. The cause of this error is very likely one of the following things:
The name of the session variable has been misspelled.
The session variable has not yet been created.
The session variable has timed out.
"
Here's what my application.cfm file looks like also:
<cfapplication name="charter"
clientmanagement = "YES"
sessionmanagement = "YES">
I know that I have session variables set throughout my app.
Why isn't it logging out and redirecting to my page? Please advise when you can.
Thanks,
scripter73