Hi,
I have a page that displays Mysql query results in either "simple" or "detailed" format. The directive to display in the desired format is obtained by looking at the value of a Session variable.
If the variable is not set, (ie: first time a search has been initiated), then "simple" mode is assumed and the session variable set accordingly.
As part of the finished page, there is a link to advise the user to click HERE to swap-over to "detailed" display mode.
Now, I'm stuck. How do I change a session variable from a HTML link. If I could do that, then all would have to do is perform a JS refresh on the page, and I'd be happy.
thank you.
I have a page that displays Mysql query results in either "simple" or "detailed" format. The directive to display in the desired format is obtained by looking at the value of a Session variable.
If the variable is not set, (ie: first time a search has been initiated), then "simple" mode is assumed and the session variable set accordingly.
As part of the finished page, there is a link to advise the user to click HERE to swap-over to "detailed" display mode.
Now, I'm stuck. How do I change a session variable from a HTML link. If I could do that, then all would have to do is perform a JS refresh on the page, and I'd be happy.
thank you.
Comment