<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>Because if I have to show the code, then I would be disclosing something the customer owns. I don't know if I can sanitize it enough and have it still be readable.<BR> </DIV>
<P><FONT face="bookman old style, new york, times, serif" color=#ff007f size=4><EM><STRONG>Nancy</STRONG></EM></FONT></P>
<P> </P>
<P><FONT face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</FONT></P>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Domenic Santangelo <domenics@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> development@drupal.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thu, September 23, 2010 4:30:30 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [development] Anonymous to Authenticated User Cookies<BR></FONT><BR><BASE>I too use the destination param. I have noticed that you must be careful not to let it get lost if you're going to several intermediary pages.
<DIV><BR></DIV>
<DIV>Curious as to why you'd want to take code off-list, surely the solution would be beneficial to the community?</DIV>
<DIV><BR></DIV>
<DIV>-D</DIV>
<DIV><BR></DIV>
<DIV><BR>
<DIV>
<DIV>On Sep 22, 2010, at 8:27 AM, nan wich wrote:</DIV><BR class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2">
<DIV>
<DIV style="FONT-SIZE: 12pt; MARGIN: 0px; FONT-FAMILY: courier, monaco, monospace, sans-serif">
<DIV style="MARGIN: 0px"></DIV>
<DIV style="MARGIN: 0px">I do this simply by using the "destination" query parameter. If you need more details on my code, we will have to take this off-list.<BR> </DIV>
<P><FONT face="bookman old style, new york, times, serif" color=#ff007f size=4><EM><STRONG>Nancy</STRONG></EM></FONT></P>
<P><FONT face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</FONT></P>
<DIV style="MARGIN: 0px"><BR></DIV>
<DIV style="FONT-SIZE: 12pt; MARGIN: 0px; FONT-FAMILY: courier, monaco, monospace, sans-serif"><BR>
<DIV style="FONT-SIZE: 12pt; MARGIN: 0px; FONT-FAMILY: times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B><SPAN class=Apple-converted-space> </SPAN>AustinCMS <<A href="mailto:chana@austincms.com" target=_blank rel=nofollow ymailto="mailto:chana@austincms.com">chana@austincms.com</A>><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B><SPAN class=Apple-converted-space> </SPAN><A href="mailto:development@drupal.org" target=_blank rel=nofollow ymailto="mailto:development@drupal.org">development@drupal.org</A><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B><SPAN class=Apple-converted-space> </SPAN>Tue, September 21, 2010 8:12:28 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B><SPAN class=Apple-converted-space> </SPAN>[development] Anonymous to Authenticated User Cookies<BR></FONT><BR>I have the following scenario:<BR><BR>1. Anonymous user browses site.<BR>2. He clicks on link (on Screen A)<SPAN class=Apple-converted-space> </SPAN><BR>3. He is informed he must
login to proceed further (-> to Screen B)<BR>3. He clicks on "Register" which takes him to account creation (Screen C) and on form submit to Content Profile for profile creation (Screen D).<BR><BR>Client then wants newly-created and authenticated user to be taken back to Screen B. In other words - where he was trying to head before<BR>being re-routed into creating an account and profile.<BR><BR>There seems to be a lot of discussion and proposed "solutions" for this scenario - but none that actually really work. Login Destination module<BR>doesn't work because of Content Profile incompatibilities. AFAIK, LogonToboggan allows you to set a target after login - but not with the intermediate<BR>step of Profile creation. I can get a user back to the page where he logged in IF he is already an authenticated user and logging in from the User Login box. But so far, that is the<SPAN class=Apple-converted-space> </SPAN><BR>only scenario that works even
remotely closely.<BR><BR>I'd like to understand better how cookies are managed in Drupal...especially going from an Anonymous session to an authenticated one under the scenario above.<BR><BR>I'd appreciate info - or a link to a good resource, if possible...<BR><BR>Thanks in advance!<BR><BR>Chana<BR clear=all><BR><BR><BR><BR></DIV></DIV></DIV></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></div></body></html>