Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
05-07-2012, 05:43 PM #1
- Join Date
- Jun 2011
- Thanked 0 Times in 0 Posts
Start asp session OnClick (when click on a link)
I have this code:
<a href="index.asp" onclick="<%Session("example") = True%>">LINK</a>
The problem is that this result in the session example will be true when loading this page and not when clicking on the link.
How can I solve this?
05-07-2012, 10:53 PM #2
You would have to start the session in the index.asp file, since all session values can only be set and retrieved and cleared in server-side code.Be yourself. No one else is as qualified.