Results 1 to 4 of 4
May 29, 2011, 20:12 #1
- Join Date
- Feb 2010
- 0 Post(s)
- 0 Thread(s)
setting a cookie when user clicks a link and prevent default
I'm trying to set a cookie when a user clicks a hyper link.
Do you think I should prevent the default behavior of pressing a link first, and then set the cookie?
Or could I just set the cookie on a hyper link click event, and hope the client sets the cookie, before they are directed to another page.