[Python-modules-team] Bug#405291: Test cases
Michael Rasmussen
mir at miras.org
Tue Jan 2 12:55:29 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
A good test case describing the problem follows.
Try this psp script on a computer running the current version of
libapache2-mod-python
apache config:
AddHandler mod_python .py .psp .psp_
PythonDebug On
PythonHandler mod_python.psp
PythonOption session DbmSession
<html>
<head>
<title>Session Test</title>
</head>
<body>
<%
if not session.is_new():
session["hits"] += 1
else:
session["hits"] = 0
#
%>
<h1>Session Test</h1>
<p>Hits: <%= session["hits"] %></p>
</body>
</html>
The try this link wich is running a backported version of
libapache2-mod-python-2.3.10-3 on Sarge
http://ipcop.miras.org/session.psp
- --
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917
- --------------------------------------------------------------
BOFH excuse #124:
user to computer ration too low.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFmkgxVErYVePoCRcRAoeVAJ9eIlqLY25bF7+eXAaIr3Tr6Wu2xACfSWU3
zOncrJ915kUR6hoU7AGSAP8=
=ahbs
-----END PGP SIGNATURE-----
More information about the Python-modules-team
mailing list