UPCASE (JANUS DEFINE parameter): Difference between revisions
m (1 revision) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:UPCASE}} | {{DISPLAYTITLE:UPCASE}} | ||
<span class="pageSubtitle"><section begin="desc" />Convert client "names" to | <span class="pageSubtitle"><section begin="desc" />Convert client "names" to uppercase<section end="desc" /></span> | ||
<var>UPCASE</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port. | <var>UPCASE</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port. | ||
Line 14: | Line 14: | ||
The <var>UPCASE</var> parameter is the opposite of <var>[[NOUPCASE (JANUS DEFINE parameter)|NOUPCASE]]</var>. The default is for all ports to have <var>UPCASE</var> set. | The <var>UPCASE</var> parameter is the opposite of <var>[[NOUPCASE (JANUS DEFINE parameter)|NOUPCASE]]</var>. The default is for all ports to have <var>UPCASE</var> set. | ||
Valid for <var>WEBSERV</var>, OPENSERV and <var>[[JANUS DEFINE#type|SDS]]</var> port types. | Valid for <var>WEBSERV</var>, <var>OPENSERV</var> and <var>[[JANUS DEFINE#type|SDS]]</var> port types. | ||
==See also== | ==See also== |
Revision as of 21:19, 1 March 2012
<section begin="desc" />Convert client "names" to uppercase<section end="desc" />
UPCASE is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.
This parameter indicates that all client "names" are to be converted to upper case. "Names" includes userids and passwords, variable names for OPENSERV ports, column names for SDS ports and header parameters, header values, cookie names, and form field names for WEBSERV ports. By setting UPCASE as a port parameter, the userid and password can be specified by the client in case insensitive form, that is, it can be specified in lower case.
Note that it is possible to have lower case userids and passwords in Model 204. For example, the userids HOMER
, homer
, and Homer
would be treated as three separate userids by Model 204. The UPCASE parameter simplifies the interaction between clients (where names tend to be in lowercase) and Model 204 (where they tend to be in uppercase).
Note: The UPCASE parameter never results in data being converted to uppercase. That is, if a client sends variable @customer
with a value of Dolly Dinkle
, and UPCASE is active for the connection, the User Language application would see a variable called @CUSTOMER
with a value of Dolly Dinkle
.
For SDS ports, the UPCASE parameter means that all table and column names passed from the Adaptive Server will be converted to uppercase. This means that when defining the columns and tables (using JANCAT), the names must all be uppercase. It also means that if an SDS port has the UPCASE parameter set but has mixed case table and column names, those tables and columns will be inaccessible.
The UPCASE parameter is the opposite of NOUPCASE. The default is for all ports to have UPCASE set.
Valid for WEBSERV, OPENSERV and SDS port types.