/src/redirect.php

Description

Prevents users from reposting their form data after a successful logout.

Derived from webmail.php by Ralf Kraudelt <kraude@wiwi.uni-rostock.de>

Includes
require ('../include/init.php') (line 18)

Include the SquirrelMail initialization file.

require_once (SM_PATH.'functions/strings.php') (line 22)
Functions
attachment_common_parse (line 171)

The cookie part. session_start and session_regenerate_session normally set

their own cookie. SquirrelMail sets another cookie which overwites the php cookies. The sqsetcookie function sets the cookie by using the header function which gives us full control how the cookie is set. We do that to add the HttpOnly cookie attribute which blocks javascript access on IE6 SP1. sqsetcookieflush is needed to send out the headers. sqsetcookie caches the cookies to be send. If we don't do that we only can send 1 single cookie which is not sufficient.

void attachment_common_parse ( $str,  $debug)
  • $str
  • $debug

Documentation generated on Sat, 07 Oct 2006 16:13:14 +0300 by phpDocumentor 1.3.0RC6