1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to Create a cookie in drupal to store GET params from referer

Discussion in 'Drupal' started by datrader, Feb 19, 2012.

  1. #1
    Hi all,
    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.

    datrader, Feb 19, 2012 IP