首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > perl-cgi-session-id-sha

perl-cgi-session-id-sha

  • 资源大小:4.00 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: perlcgisessionidsha

资 源 简 介

NAME CGI::Session::ID::sha - CGI::Session ID driver for generating SHA-1 based IDs SYNOPSIS use CGI::Session; $session = new CGI::Session("id:sha", undef); DESCRIPTION Use this module to generate SHA-1 encoded hexadecimal IDs for CGI::Session objects. This library does not require any arguments. To use it, add id:sha to the DSN string when creating CGI::Session objects. Keep in mind Keep in mind that a SHA-1 encoded hexadecimal string will have 40 characters. Don"t forget to take this into account when using a database to store your session. For example, when using the default table layout with MySQL you"d want to create a table like: CREATE TABLE sessions ( id CHAR(40) NOT NULL PRIMARY KEY, a_session NOT NULL, ); CAVEATS There are no caveats with this module, but rather with the way CGI::Session loads this module: DSN st

文 件 列 表

CGI-Session-ID-sha
README
Changes
Makefile.PL
MANIFEST
t
lib

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.189311s