This module is compatible with mod_uid for Apache.
Example
鎸囦护
userid
syntax:*userid [on|v1|log||off]*
default:*userid off*
context:*http, server, location*
Enables or disables issuing cookies and logging requested cookies:
- on - enables version 2 cookies and logs them;
- v1 - enables version 1 cookies and logs them;
- off - do not send cookies, and don't write them to logs;
syntax:*userid_domain [ name | none ]*
default:*userid_domain none*
context:*http, server, location*
Assigns the domain for cookie. The parameter "none" doesn't issue domain for cookie.
userid_expires
default:*none*
context:*http, server, location*
Sets the expiration time for the cookie.
The parameter set & send-out browser expiration time for cookie. Value "max" assigns the time on 31 December, 2037, 23:55:55 gmt. This is the maximum time that older browsers understand.
userid_name
syntax:*userid_name name*
default:*userid_name uid*
context:*http, server, location*
Assigns name to cookie.
syntax:*userid_p3p line*
default:*none*
Directive assigns value for the header P3P, which will sent together with cookie.
userid_path
syntax:*userid_path path*
default:*userid_path /*
context:*http, server, location*
Sets the cookie path.
userid_service
syntax:*userid_service number*
default:*userid_service address*
context:*http, server, location*
Directive assigns the IP address of the server which gave out cookie. If not set, version 1 cookies set to zero, and for version 2 cookies the IP address of server.