By ethereal1m on
Dear all,
currently my Drupal configuration doesn't accept a cookie that is already in the browser cache, how can I change this configuration so that it accept cookies regardless what is in the cache?
regards,
ethereal1m
Comments
How to set and retrieve cookies???????
Same question as unanswered ethereal above!
Or even more basic still, how do you simply SET and RETRIEVE cookies in Drupal?? Found no how-to on this.
I would like to set a Cookie for the author (id) of the landing-page of any kind of user and be able to retrieve it later, through views, on specific pages and include it in the URL of outgoing links.
Looking forward to any answer before 2012
I started with Drupal in 2007 and then my life got stuck...
6 months left…
Have a look at the sessions table, logincookie module code (http://drupal.org/project/logincookie) and sess_read/sess_write functions.
tnx
hi mecano, 6 months left, surprisingly fast indeed! ;)
One thing though, login cookie is about (existing) users signing in our out. What I hope to find is a cookie that works for ALL visitors when landing on the site, so that should specifically include anonymous users too. This cookie should then contain the information about the author of that landing page. We want to retrieve that information in case the visitor makes a reservation or any other acquisition.
The intention is to be able to track authors and share some revenue with them if their content generated the visit.
I started with Drupal in 2007 and then my life got stuck...