WEBLOGCOOKIE (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
(Automatically generated page update)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="pageSubtitle"><section begin="desc" />WEBLOGCOOKIE cookie-name -- log user with web cookie id.<section end="desc" /></span>
<span class="pageSubtitle">WEBLOGCOOKIE cookie-name &mdash; Log user with web cookie ID</span>


<var>WEBLOGCOOKIE</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  
<var>WEBLOGCOOKIE</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  

Latest revision as of 22:28, 16 April 2013

WEBLOGCOOKIE cookie-name — Log user with web cookie ID

WEBLOGCOOKIE is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.

This parameter indicates that, for public URLs, Janus Web should log the user in with the userid specified by cookie-name. Normally, all public URL logins use the default public userid (usually WEBUSER). This parameter simply allows applications to set their own public userids. One way to do this is with the Janus Web API function $Web_Set_Cookie.

If you specify the WEBLOGCOOKIE parameter, use caution if you also use the WEBPUBLOG parameter. WEBPUBLOG logins use CCASTAT or an external authorizer for public logins, therefore if a login cookie specifies a userid which has system privileges, a security breach is possible. For this reason, use of WEBLOGCOOKIE with WEBPUBLOG is not recommended, but it is not explicitly prohibited.

Note that some browsers do not support cookies (though most do) and end-users can turn off support of the cookies feature. An end-user using a browser that does not support cookies or has their support turned off will be logged in using the default public userid (usually WEBUSER).

Public logins that use a WEBLOGCOOKIE cookie will participate in web logging.

Valid only for WEBSERV ports.

See also