I just have a quick question with CFSET and the Onclick() function. I am trying to setup the text in a TH cell to be able to sort and then refresh the page afterwards.. I have setup a session variable called TaskSort which sets the ordering and it is defaulted upon login. Using the following code I can't get it to work. I know my syntax is off but I can't seem to find any other resources to point me in the right direction. Thanks in advanced for any help you can provide.
<th><a href="main.cfm" onclick="<cfset session.TaskSort = "TaskDueDate">">Due Date</a></th>