php独立session数据库存储操作类分享.docxVIP

  • 8
  • 0
  • 约1.17万字
  • 约 17页
  • 2021-07-29 发布于天津
  • 举报
直接上代码: 代码如下: class dbsession ( const type_int = 1; const type_str = 2; /** * database configration * @var array */ private $_config = array( root,root, db_mylab, root, root, db_mylab, t_sessions, ,mylab_, ,/, ,password =gt; dbname =gt; tablename =gt; cookie_prefix =gt; cookiepath =gt; cookiedomain =gt; cookie_timeout =gt; 900 ); /** table fields type array * @var array */ private $_db_fields = array( crc32sid =gt; self::type_int, sessionhash =gt; self::type_str, idhash =gt; self::type_str, userid =gt; self::type_int, ipaddress =gt; self::type_str, lastactivity =gt; self::type_str, location =g

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档