Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-19-2012, 01:33 PM #1
- Join Date
- Oct 2011
- Thanked 0 Times in 0 Posts
how to Create a cookie in drupal to store GET params from referer
On drupal 7.8 I use webform module, which on every submission , I want to send as hidden value, a GET params (e.g. ?ref=[param]). This Get parameter is coming from referring sites, so I want to send this info on every form submission.
I have two questions:
1. How and where do I store this GET parameter in a cookie? (which file etc…)
2. How do I display this info in the webform (special tokens area)…
I just cant find where do I write this special cookie.