<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">I have had a problem like this before where the session files were being stored in a directory unavailable to PHP. You might try setting the directory path in php.ini&nbsp; and/or checking the permissions on the directory being&nbsp; used.<br><br>Appropo dev stuff. Does the Drupal installer check the session directory? Several other CMS installers like Joomla do this.<br><div>&nbsp;</div><div> <div><font face="Arial" size="2">Carl Mc Dade<br>____________________________<br>Web Developer<br><br></font></div><div><font face="Arial" size="2"><br>&nbsp;</font></div></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Rob Thorne &lt;rob@torenware.com&gt;<br>To:
 development@drupal.org<br>Sent: Monday, February 19, 2007 8:30:12 AM<br>Subject: [development] Weird session behavior on submit block form<br><br><div>I'm debugging a weird issue with a Drupal 5.1 install.&nbsp;&nbsp; The bug <br>presents like this:<br><br>&nbsp;&nbsp; 1. Log in as an admin user.<br>&nbsp;&nbsp; 2. Go to admin/build/block<br>&nbsp;&nbsp; 3. Select a disabled block for adding it to some region (say, right<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;side bar) and hit "submit".<br>&nbsp;&nbsp; 4. The user will be immediately logged out,&nbsp;&nbsp;and will now see the<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;admin/build/block page as forbidden.<br><br>This problem is very specific to the server it's running on;&nbsp;&nbsp;I can take <br>the same files and database, download them to a test host, and I will <br>*not* see this problem.<br><br>I've added a bunch of error_log() statements to the install on the host <br>with the weird behavior,&nbsp;&nbsp;and you see
 something like this in the log:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;{{I log in here....}}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] Cookie is d5b8a937d722318d971b1930406d744a<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] Calling session read for key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d5b8a937d722318d971b1930406d744a<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] calling prepare for id user_login<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] returned from prepare for user_login<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] entering validate for user_login<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] returning from&nbsp;&nbsp;validate for user_login<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] entering submit for user_login<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] leaving submit for
 user_login<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] Calling session write for key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 71db2c27b1ff52aae4a0ac7ce8ba183a and val<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tAJ44N_LlrbmNDZHcLue2FXede9BKRdCIQyBobLPanifZv7HurbKNgbJDHW23sYm<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {{I go to en/admin/build/block}}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] Cookie is 71db2c27b1ff52aae4a0ac7ce8ba183a<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:36] Calling session read for key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 71db2c27b1ff52aae4a0ac7ce8ba183a<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:37] calling prepare for id search_theme_form<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:37] returned from prepare for search_theme_form<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:49:37] Calling session write for key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 71db2c27b1ff52aae4a0ac7ce8ba183a and val<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tAJ44N_LlrbmNDZHcLue2FXede9BKRdCIQyBobLPanifZv7HurbKNgbJDHW23sYm<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:26] Cookie is 71db2c27b1ff52aae4a0ac7ce8ba183a<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:26] Calling session read for key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 71db2c27b1ff52aae4a0ac7ce8ba183a<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:26] admin display<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:26] admin form exit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:26] calling prepare for id block_admin_display<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:27] returned from prepare for block_admin_display<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:27] calling prepare for id search_theme_form<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:27] returned from prepare for
 search_theme_form<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:50:28] Calling session write for key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 71db2c27b1ff52aae4a0ac7ce8ba183a and val<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tAJ44N_LlrbmNDZHcLue2FXede9BKRdCIQyBobLPanifZv7HurbKNgbJDHW23sYm<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {{I try to select some block to add to the right side, and hit<br>&nbsp;&nbsp;&nbsp;&nbsp;submit}}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:51:14] Cookie is<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:51:14] Calling session read for key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; babc55f2b27b3c224414d840650a8abe<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:51:14] calling prepare for id search_theme_form<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:51:14] returned from prepare for search_theme_form<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [19-Feb-2007 01:51:14] Calling session write for
 key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; babc55f2b27b3c224414d840650a8abe and val<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tAJ44N_LlrbmNDZHcLue2FXede9BKRdCIQyBobLPanifZv7HurbKNgbJDHW23sYm <br><br>Any ideas as to what might be "zeroing out" the session cookie?<br><br>Thanks,<br>Rob<br><br>Rob Thorne<br>Torenware Networks<br></div></div><br></div></div><br>

<hr size=1><a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367">Food fight?</a> Enjoy some healthy debate<br>in the <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367">Yahoo! Answers Food & Drink Q&A.</a></body></html>