[development] Weird session behavior on submit block form

Robert Douglass rob at robshouse.net
Mon Feb 19 10:18:37 UTC 2007


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.

cheers,

Robert

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 <ber at webschuur.com>
> 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. 
> <http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/mailbeta>


-- 
* * * * *
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
http://www.lullabot.com/training
* * * * *



More information about the development mailing list