[development] Weird session behavior on submit block form

Carl Mc Dade carl_mcdade at yahoo.com
Mon Feb 19 14:58:43 UTC 2007


Then we are on the same page. I was trying to help him solve the problem with getting a PHP error message. Going by what is being provided in the post there was not really a problem with Drupal but the server. The most likely cause being that the PHP session which comes before Drupal is trying to write to a path that either does not exist or is not writable. Perhaps not allowing Drupal to copy/read the proper session id.

What I have done is change my php.ini session path to something other than the default temp. This is so that I can look in the database and on the server and compare the session ids. When I did this things started working again. Of course this may not be the same case here. But it is something to look at and to start with.

Robert Douglass <rob at robshouse.net> wrote: No, the cookies aren't stored in the database. But neither are they 
stored on the filesystem of the server (in Drupal or otherwise).

In case you are wondering about this directive in php.ini:

; The path for which the cookie is valid.
session.cookie_path = /

I don't think that this is a path on the file directory of the server. I 
know that my apache doesn't have read or write access to /.

You can find all the information that gets stored on the server about a 
user's session in the sessions database table.



Carl Mc Dade wrote:
> I was of the understanding that drupals "logged sessions" and php 
> "session cookies" were two different things. Drupal actually copies 
> the session cookie into the database?
> Carl Mc Dade
> ____________________________
> Web Developer
> ----- Original Message ----
> From: Bèr Kessels 
> To: development at drupal.org
> Sent: Monday, February 19, 2007 10:06:30 AM
> Subject: Re: [development] Weird session behavior on submit block form
> Op maandag 19 februari 2007 09:28, schreef Carl Mc Dade:
> > Appropo dev stuff. Does the Drupal installer check the session 
> directory?
> > Several other CMS installers like Joomla do this.
> AFAIK Drupal will always store a session in the database.
> Bèr
> ------------------------------------------------------------------------
> Everyone is raving about the all-new Yahoo! Mail beta. 

* * * * *
Lullabot's First Ever Advanced Workshops Are Here!
Drupal API & Module Building - Advanced Drupal Themeing
April 9th-13th - Providence, RI
Early Bird Discounts Available Now
* * * * *

 Carl Mc Dade
Web Developer


Looking for earth-friendly autos? 
 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070219/35491469/attachment.htm 

More information about the development mailing list