On Mon, 2006-02-06 at 08:07, Iain Pople wrote:
> Rafael Martinez Guerrero wrote:
> > 
> > Hello
> > 
> > This is the same problem we had some months ago. We reported this to the
> > list in august 2005 and it take us very heavy debugging to find out the
> > cause of this. More information here:
> > http://sourceforge.net/mailarchive/message.php?msg_id=12715881
> > 
> 
> It seems to me that this could be fixed with a small modification in the 
> squirrelmail code in functions/global.php by adding a simple check for 
> the case where sessid is set to "deleted".
> 
> function sqsession_is_active() {
> 
>      $sessid = session_id();
>      if ( empty( $sessid ) ) {
>          session_start();
>      }
>      if ($sessid == "deleted") {
>          session_regenerate_id();
>      }
> }
> 
> Can anyone see a problem with this approach?

Hello

The problem with this is that you probably will get a loop trying to
regenerate the session id without success. 

After what I have seen with this problem, this is not a onetime
problem/error, users will have this problem all the time until they fix
the cause of it (we think a not correct date/time is the reason).

But I think this is the right place to fix this. We could just abort the
login and generate an error page with information insteed of trying to
regenerate the session id.

-- 
Rafael Martinez, <[EMAIL PROTECTED]>
Center for Information Technology Services
University of Oslo, Norway

PGP Public Key: http://folk.uio.no/rafael/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to