[consulting] Looking for consultant

bobby_1290 bobby_1290 at hotmail.com
Sat Mar 31 14:22:26 UTC 2007


Hi Rob,

I do drupal development, theming and modules for drupal sites and would be interested in helping you out long term if we can come to some form of cooperation agreement.

Now to the 'challenges' at hand. 
There is no direct way of removing the cookies from a client with a request from the server.
BUT!
If you can address the cookies from the server (and you can, otherwise it would not be a problem) I think you could try to reset the cookies with a negative expiration time. This should cause the browser to expire the cookie immediatly and thus remove it.  

A sample script could look like this;

<?php
  setcookie("YOUR_COOKIE_NAME","",time()-1);
?>

You would have to build some logic around this so it would only expire once per user, but I think this would be the way to go.
The issue would then be finding the correct place in the drupal scripts to capture the 'cookie names and expire them once.
 
Hope this helps,
Regards, 
B.
  ----- Original Message ----- 
  From: Rob Pierson 
  To: A list for Drupal consultants and Drupal service/hosting providers 
  Sent: Saturday, March 31, 2007 8:29 AM
  Subject: [consulting] Looking for consultant


  Hi,

  I help with the website for young professionals working in foreign policy (www.ypfp.org). It's a non-partisan site for young and mostly dc-based think tank folks, congressional staff, etc to discuss foreign policy. 

  We've been running the site for about a year, and recently our web host (opensourcehost.com) installed a module (suhosin) for php that they say has corrupted the cookies of our users. I've tried moving the site to another hosting company, reinstalled the database/cms, and unsuccessfully searched for a solution. They say the only solution is to tell all of our users to empty their cookies, which is not exactly what I would call a "solution". 

  We've decided to look for someone to assist in resolving this issue. We're also going to be looking for someone to help with theming and module development for the site (once we've been able to acquire some grants). 

  The organization doesn't have so much in the way of funding right now, but we're looking for someone that is interested in working with us as our 600 member organization continues its rapid growth. 

  Thanks for reading!
  Rob



------------------------------------------------------------------------------


  _______________________________________________
  consulting mailing list
  consulting at drupal.org
  http://lists.drupal.org/mailman/listinfo/consulting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/consulting/attachments/20070331/6de5763f/attachment.htm 


More information about the consulting mailing list