Is there a way in ColdFusion to change a session variable after a page change? – Especially after a page change to a specific page?
Goes to one page --> change session variable
Goes to a different page --> change session variable to something else
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Can you add code to the existing page? When importantpage.cfm is loaded you could run this at the top of the page
<cfset session.variable = 'important page loaded'>That should accomplish what you are looking for.
You could also add
<cfset>tags to your application.cfm/cfc file