<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>Thanks, Steven. That was real close, but should be:</DIV>
<DIV><FONT face="Courier New, courier, monaco, monospace, sans-serif"> $form_state['redirect'] = array($_GET['q'], $r);</FONT></DIV>
<DIV><FONT face="Courier New, courier, monaco, monospace, sans-serif"><FONT face="arial, helvetica, sans-serif"> </FONT><BR></FONT> </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><FONT face=Tahoma size=2>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">
<HR SIZE=1>
</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Steven Jones</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"></FONT><BR>The actual redirection of forms is handled by drupal_redirect_form: <A href="http://api.drupal.org/api/function/drupal_redirect_form/6">http://api.drupal.org/api/function/drupal_redirect_form/6</A><BR><BR>Which looking at the code, passes the $form_state['redirect'] to drupal_goto.<BR><BR>drupal_goto has a second argument for the query string, so I think the end of your form submit function may want to look something like:<BR><BR>drupal_set_message("going to $r");<BR>$form_state['redirect'] = array($_GET['q'], array('query' => $r));<BR>drupal_set_message(print_r($_SESSION, true));<BR></DIV></DIV></div></body></html>