Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 12aef6395c3678c929b08cd723fc1673 > files > 93

mod_python-2.7.6-1mdk.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>4.3.4.1 Server Methods</title>
<META NAME="description" CONTENT="4.3.4.1 Server Methods">
<META NAME="keywords" CONTENT="modpython">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="STYLESHEET" href="modpython.css">
<LINK REL="next" href="pyapi-mpsrv-mem.html">
<LINK REL="previous" href="pyapi-mpserver.html">
<LINK REL="up" href="pyapi-mpserver.html">
<LINK REL="next" href="pyapi-mpsrv-mem.html">
</head>
<body>
<DIV CLASS="navigation">
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td><A href="pyapi-mpserver.html"><img src="icons/previous.gif"
  border="0" height="32"
  alt="Previous Page" width="32"></A></td>
<td><A href="pyapi-mpserver.html"><img src="icons/up.gif"
  border="0" height="32"
  alt="Up One Level" width="32"></A></td>
<td><A href="pyapi-mpsrv-mem.html"><img src="icons/next.gif"
  border="0" height="32"
  alt="Next Page" width="32"></A></td>
<td align="center" width="100%">Mod_python Manual</td>
<td><A href="contents.html"><img src="icons/contents.gif"
  border="0" height="32"
  alt="Contents" width="32"></A></td>
<td><img src="icons/blank.gif"
  border="0" height="32"
  alt="" width="32"></td>
<td><A href="genindex.html"><img src="icons/index.gif"
  border="0" height="32"
  alt="Index" width="32"></A></td>
</tr></table>
<b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpserver.html">4.3.4 Server Object (mp_server)&nbsp;</A>
<b class="navlabel">Up:</b> <a class="sectref" href="pyapi-mpserver.html">4.3.4 Server Object (mp_server)&nbsp;</A>
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-mpsrv-mem.html">4.3.4.2 Server Members</A>
<br><hr>
</DIV>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION006341000000000000000">&nbsp;</A>
<BR>
4.3.4.1 Server Methods
</H3>

<P>
<dl><dt><b><a name='l2h-99'><tt class='method'>register_cleanup</tt></a></b>(<var>request, callable</var><big>[</big><var>, data</var><big>]</big>)
<dd>
Registers a cleanup. Very similar to <tt class="function">req.register_cleanup()</tt>, except
this cleanup will be executed at child termination time. This function
requires one extra argument - the request object.
</dl>

<P>

<DIV CLASS="navigation">
<p><hr>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td><A href="pyapi-mpserver.html"><img src="icons/previous.gif"
  border="0" height="32"
  alt="Previous Page" width="32"></A></td>
<td><A href="pyapi-mpserver.html"><img src="icons/up.gif"
  border="0" height="32"
  alt="Up One Level" width="32"></A></td>
<td><A href="pyapi-mpsrv-mem.html"><img src="icons/next.gif"
  border="0" height="32"
  alt="Next Page" width="32"></A></td>
<td align="center" width="100%">Mod_python Manual</td>
<td><A href="contents.html"><img src="icons/contents.gif"
  border="0" height="32"
  alt="Contents" width="32"></A></td>
<td><img src="icons/blank.gif"
  border="0" height="32"
  alt="" width="32"></td>
<td><A href="genindex.html"><img src="icons/index.gif"
  border="0" height="32"
  alt="Index" width="32"></A></td>
</tr></table>
<b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpserver.html">4.3.4 Server Object (mp_server)&nbsp;</A>
<b class="navlabel">Up:</b> <a class="sectref" href="pyapi-mpserver.html">4.3.4 Server Object (mp_server)&nbsp;</A>
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-mpsrv-mem.html">4.3.4.2 Server Members</A>
<hr>
<span class="release-info">Release 2.7.6, documentation updated on August 04, 2001.</span>
</DIV>
<!--End of Navigation Panel-->

</BODY>
</HTML>