I'm using Embperl together with Apache::Session. I'm running into a problem I don't understand and it might be Embperl related, or mod_perl, or apache or MSIE or ....
I'm developing a web-site and would like to use session handling in Embperl. Setting the cookies usually works ok. My MS IE5.5 browser picks up the cookie and everything works. If however I close MSIE, remove the cookie from the harddisk, reboot the client computer, start-up MSIE and start browsing my web-site again I don't receive a cookie and the session handling doesn't work. When I exit the browser there is no cookie in directory where it should have been stored.
When I then do an `apactl reload' on the server and browse my website I again receive a cookie and everything works fine again. This doesn't seem right to me. It's not a big problem as I don't expect my users to routinely remove their cookies, but still, it is weird. It looks like some state is kept on the server and some other information is used to identify the client and because of that no cookie is sent.
 
My configuration is:
  apache (1.3.17)
  mod_perl (1.25) 
  HTML-Embperl (1.3.1
  DBI-1.1.14 
  DBD-Oracle-1.06
  ApacheDBI-0.88
  DBIx-Recordset (0.23)
  MD5-1.7
  Storable-1.0.7
  Apache::Session-1.53
The relevant part of the configuration in startup.pl is:
$ENV{EMBPERL_SESSION_CLASSES} = "File Semaphore" ;
$ENV{EMBPERL_SESSION_ARGS}="Directory=/var/tmp/websessions";

$ENV{EMBPERL_COOKIE_EXPIRES} = "+8h";
$ENV{EMBPERL_COOKIE_DOMAIN} = ".yavidic.com";
$ENV{EMBPERL_COOKIE_PATH} = "/";
 
Client:
MSIE5.5 on Windows98SE

Reply via email to