<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Mohawk Software Session Handler Functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PHP 手册" HREF="index.html"><LINK REL="UP" TITLE="函数参考" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="PDO_DBLIB DSN" HREF="ref.pdo-dblib.connection.html"><LINK REL="NEXT" TITLE="msession_connect" HREF="function.msession-connect.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP 手册</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="ref.pdo-dblib.connection.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.msession-connect.html" ACCESSKEY="N" >下一页</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.msession" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XCIV. Mohawk Software Session Handler Functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN129288" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="msession.intro" >简介</A ></H1 ><P > msession is an interface to a high speed session daemon which can run either locally or remotely. It is designed to provide consistent session management for a PHP web farm. More Information about msession and the session server software itself can be found at <A HREF="http://www.mohawksoft.org/?q=node/8" TARGET="_top" >http://www.mohawksoft.org/?q=node/8</A >. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >注意: </B >本扩展模块在 Windows 平台下不可用。</P ></BLOCKQUOTE ></DIV ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >注意: </B > 本扩展已被移动到 <A HREF="http://pecl.php.net" TARGET="_top" >PECL</A > 库中且自以下版本起不再被绑定到 PHP 中:5.1.3. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="mssession.requirements" >需求</A ></H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="msession.installation" >安装</A ></H1 ><P > To enable Msession support configure PHP <CODE CLASS="option" >--with-msession[=DIR]</CODE >, where DIR is the Msession install directory. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="msession.configuration" >运行时配置</A ></H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="msession.resources" >资源类型</A ></H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="msession.constants" >预定义常量</A ></H1 ><P > </P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >目录</B ></DT ><DT ><A HREF="function.msession-connect.html" >msession_connect</A > -- Connect to msession server</DT ><DT ><A HREF="function.msession-count.html" >msession_count</A > -- Get session count</DT ><DT ><A HREF="function.msession-create.html" >msession_create</A > -- Create a session</DT ><DT ><A HREF="function.msession-destroy.html" >msession_destroy</A > -- Destroy a session</DT ><DT ><A HREF="function.msession-disconnect.html" >msession_disconnect</A > -- Close connection to msession server</DT ><DT ><A HREF="function.msession-find.html" >msession_find</A > -- Find all sessions with name and value</DT ><DT ><A HREF="function.msession-get-array.html" >msession_get_array</A > -- Get array of msession variables</DT ><DT ><A HREF="function.msession-get-data.html" >msession_get_data</A > -- Get data session unstructured data</DT ><DT ><A HREF="function.msession-get.html" >msession_get</A > -- Get value from session</DT ><DT ><A HREF="function.msession-inc.html" >msession_inc</A > -- Increment value in session</DT ><DT ><A HREF="function.msession-list.html" >msession_list</A > -- List all sessions</DT ><DT ><A HREF="function.msession-listvar.html" >msession_listvar</A > -- List sessions with variable</DT ><DT ><A HREF="function.msession-lock.html" >msession_lock</A > -- Lock a session</DT ><DT ><A HREF="function.msession-plugin.html" >msession_plugin</A > -- Call an escape function within the msession personality plugin</DT ><DT ><A HREF="function.msession-randstr.html" >msession_randstr</A > -- Get random string</DT ><DT ><A HREF="function.msession-set-array.html" >msession_set_array</A > -- Set msession variables from an array</DT ><DT ><A HREF="function.msession-set-data.html" >msession_set_data</A > -- Set data session unstructured data</DT ><DT ><A HREF="function.msession-set.html" >msession_set</A > -- Set value in session</DT ><DT ><A HREF="function.msession-timeout.html" >msession_timeout</A > -- Set/get session timeout</DT ><DT ><A HREF="function.msession-uniq.html" >msession_uniq</A > -- Get unique id</DT ><DT ><A HREF="function.msession-unlock.html" >msession_unlock</A > -- Unlock a session</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="ref.pdo-dblib.connection.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >起始页</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.msession-connect.html" ACCESSKEY="N" >下一页</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >PDO_DBLIB DSN</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >上一级</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >msession_connect</TD ></TR ></TABLE ></DIV ></BODY ></HTML >