<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>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>&nbsp;</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><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: Courier New, courier, monaco, monospace, 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> AustinCMS &lt;chana@austincms.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> development@drupal.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tue, September 21, 2010 8:12:28 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [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) <BR>3. He is informed he must login to proceed further (-&gt; 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 <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></body></html>