Question
Set SESSION.var via hyperlink?
Right now I am using a simple SESSION.variable to manage site
flow for example:
<cfif isDefined("form.lastName")>
<cfinclude template="results.cfm">
</cfif>
To make this work I am redirecting literally most query/customizations back to index.cfm
First are there any major concerns about such a strategy?
Secondly if to "save a step/cleanup code" is there a way to directly set the SESSION.var and redirect immediately to index.cfm rather than (my present route) of having a hyperlink to a .cfm page which <cfset SESSION.var = and then <cflocation url="'index.cfm" ?
<cfif isDefined("form.lastName")>
<cfinclude template="results.cfm">
</cfif>
To make this work I am redirecting literally most query/customizations back to index.cfm
First are there any major concerns about such a strategy?
Secondly if to "save a step/cleanup code" is there a way to directly set the SESSION.var and redirect immediately to index.cfm rather than (my present route) of having a hyperlink to a .cfm page which <cfset SESSION.var = and then <cflocation url="'index.cfm" ?