<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Rob,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now to the 'challenges' at
hand.</FONT> </DIV>
<DIV><FONT face=Arial size=2>There is no direct way of removing the cookies from
a client with a request from the server.</FONT></DIV>
<DIV><FONT face=Arial size=2>BUT!</FONT></DIV>
<DIV><FONT face=Arial size=2>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. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>A sample script could look like this;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><?php<BR>
setcookie("YOUR_COOKIE_NAME","",time()-1);<BR>?><BR></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2>The issue would then be finding the correct
place in the drupal scripts to capture the 'cookie names and expire them
once.</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2>Hope this helps,</FONT></DIV>
<DIV><FONT face=Arial size=2>Regards, </FONT></DIV>
<DIV><FONT face=Arial size=2>B.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=piersonr@gmail.com href="mailto:piersonr@gmail.com">Rob Pierson</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=consulting@drupal.org
href="mailto:consulting@drupal.org">A list for Drupal consultants and Drupal
service/hosting providers</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, March 31, 2007 8:29
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [consulting] Looking for
consultant</DIV>
<DIV><BR></DIV>Hi,<BR><BR>I help with the website for young professionals
working in foreign policy (<A href="http://www.ypfp.org">www.ypfp.org</A>).
It's a non-partisan site for young and mostly dc-based think tank folks,
congressional staff, etc to discuss foreign policy. <BR><BR>We've been running
the site for about a year, and recently our web host (<A
href="http://opensourcehost.com">opensourcehost.com</A>) 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". <BR><BR>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). <BR><BR>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. <BR><BR>Thanks for reading!<BR>Rob<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>consulting mailing
list<BR>consulting@drupal.org<BR>http://lists.drupal.org/mailman/listinfo/consulting<BR></BLOCKQUOTE></BODY></HTML>