|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /var/www/manual/mod/mod_python/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <link rel="STYLESHEET" href="modpython.css" type='text/css'> <link rel="first" href="modpython.html" title='Mod_python Manual'> <link rel='contents' href='contents.html' title="Contents"> <link rel='index' href='genindex.html' title='Index'> <link rel='last' href='about.html' title='About this document...'> <link rel='help' href='about.html' title='About this document...'> <LINK REL="prev" href="pyapi-mpconn-meth.html"> <LINK REL="parent" href="pyapi-mpconn.html"> <LINK REL="next" href="pyapi-mpfilt.html"> <meta name='aesop' content='information'> <META NAME="description" CONTENT="Connection Members"> <META NAME="keywords" CONTENT="modpython"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <title>4.5.4.2 Connection Members</title> </head> <body> <DIV CLASS="navigation"> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><a rel="prev" title="4.5.4.1 Connection Methods" href="pyapi-mpconn-meth.html"><img src='previous.gif' border='0' height='32' alt='Previous Page' width='32'></A></td> <td><a rel="parent" title="4.5.4 Connection Object (mp_conn) " href="pyapi-mpconn.html"><img src='up.gif' border='0' height='32' alt='Up One Level' width='32'></A></td> <td><a rel="next" title="4.5.5 Filter Object (mp_filter) " href="pyapi-mpfilt.html"><img src='next.gif' border='0' height='32' alt='Next Page' width='32'></A></td> <td align="center" width="100%">Mod_python Manual</td> <td><a rel="contents" title="Table of Contents" href="contents.html"><img src='contents.gif' border='0' height='32' alt='Contents' width='32'></A></td> <td><img src='blank.gif' border='0' height='32' alt='' width='32'></td> <td><a rel="index" title="Index" href="genindex.html"><img src='index.gif' border='0' height='32' alt='Index' width='32'></A></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" rel="prev" href="pyapi-mpconn-meth.html">4.5.4.1 Connection Methods</A> <b class="navlabel">Up:</b> <a class="sectref" rel="parent" href="pyapi-mpconn.html">4.5.4 Connection Object (mp_conn) </A> <b class="navlabel">Next:</b> <a class="sectref" rel="next" href="pyapi-mpfilt.html">4.5.5 Filter Object (mp_filter) </A> <br><hr> </DIV> <!--End of Navigation Panel--> <H3><A NAME="SECTION006542000000000000000"> </A> <BR> 4.5.4.2 Connection Members </H3> <P> <dl><dt><b><a name="l2h-128"><tt class="member">base_server</tt></a></b> <dd> A <code>server</code> object for the physical vhost that this connection came in through. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-129"><tt class="member">local_addr</tt></a></b> <dd> The (address, port) tuple for the server. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-130"><tt class="member">remote_addr</tt></a></b> <dd> The (address, port) tuple for the client. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-131"><tt class="member">remote_ip</tt></a></b> <dd> String with the IP of the client. Same as CGI <a class="envvar" name="l2h-142">REMOTE_ADDR</a>. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-132"><tt class="member">remote_host</tt></a></b> <dd> String. The DNS name of the remote client. None if DNS has not been checked, <code>""</code> (empty string) if no name found. Same as CGI <a class="envvar" name="l2h-143">REMOTE_HOST</a>. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-133"><tt class="member">remote_logname</tt></a></b> <dd> Remote name if using RFC1413 (ident). Same as CGI <a class="envvar" name="l2h-144">REMOTE_IDENT</a>. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-134"><tt class="member">aborted</tt></a></b> <dd> Boolean. True is the connection is aborted. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-135"><tt class="member">keepalive</tt></a></b> <dd> Integer. 1 means the connection will be kept for the next request, 0 means ``undecided'', -1 means ``fatal error''. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-136"><tt class="member">double_reverse</tt></a></b> <dd> Integer. 1 means double reverse DNS lookup has been performed, 0 means not yet, -1 means yes and it failed. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-137"><tt class="member">keepalives</tt></a></b> <dd> The number of times this connection has been used. (?) <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-138"><tt class="member">local_ip</tt></a></b> <dd> String with the IP of the server. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-139"><tt class="member">local_host</tt></a></b> <dd> DNS name of the server. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-140"><tt class="member">id</tt></a></b> <dd> Long. A unique connection id. <i>(Read-Only</i>) </dl> <P> <dl><dt><b><a name="l2h-141"><tt class="member">notes</tt></a></b> <dd> A <code>table</code> object containing miscellaneous general purpose info that lives for as long as the connection lives. </dl> <P> <DIV CLASS="navigation"> <p><hr> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><a rel="prev" title="4.5.4.1 Connection Methods" rel="prev" title="4.5.4.1 Connection Methods" href="pyapi-mpconn-meth.html"><img src='previous.gif' border='0' height='32' alt='Previous Page' width='32'></A></td> <td><a rel="parent" title="4.5.4 Connection Object (mp_conn) " rel="parent" title="4.5.4 Connection Object (mp_conn) " href="pyapi-mpconn.html"><img src='up.gif' border='0' height='32' alt='Up One Level' width='32'></A></td> <td><a rel="next" title="4.5.5 Filter Object (mp_filter) " rel="next" title="4.5.5 Filter Object (mp_filter) " href="pyapi-mpfilt.html"><img src='next.gif' border='0' height='32' alt='Next Page' width='32'></A></td> <td align="center" width="100%">Mod_python Manual</td> <td><a rel="contents" title="Table of Contents" rel="contents" title="Table of Contents" href="contents.html"><img src='contents.gif' border='0' height='32' alt='Contents' width='32'></A></td> <td><img src='blank.gif' border='0' height='32' alt='' width='32'></td> <td><a rel="index" title="Index" rel="index" title="Index" href="genindex.html"><img src='index.gif' border='0' height='32' alt='Index' width='32'></A></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" rel="prev" href="pyapi-mpconn-meth.html">4.5.4.1 Connection Methods</A> <b class="navlabel">Up:</b> <a class="sectref" rel="parent" href="pyapi-mpconn.html">4.5.4 Connection Object (mp_conn) </A> <b class="navlabel">Next:</b> <a class="sectref" rel="next" href="pyapi-mpfilt.html">4.5.5 Filter Object (mp_filter) </A> <hr> <span class="release-info">Release 3.2.8, documentation updated on February 19, 2006.</span> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>