Gerald Richter writes:

 > Then you should check if there could be any place where you don't release
 > the Session object.

I thought that Apache::Session releases that for me. Typically I have
a global variable which stores the session and the globals are
destroyed by Embperl I think which should force the sync of the
Session object.

The only problem I had to solve where the session was never released
(only with IE5!) was in the situation of a redirect. There I needed to
force the sync:


[# my page.html (just a sketch) #]

[-
  $session = CS::Session->getSession;

  $session->{'x'} = 1;

  $session->make_synced;

  $r = Apache->request;

  $r->header_out("Location" => "/somewhere.html");

  $r->status(REDIRECT);

  Apache::exit();
-]


Could it be that the session is still not released in this case and
this would influence all subsequent accesses for this session?

Dirk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to