Consultor Eletrônico



Kbase 18982: Cookies Set to "?" if webspeed.cnf Variable is Incorrect
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/07/1999
Applies to Sun Solaris 2.6 and WebSpeed 2.1

SUMMARY:

Error 560 can be caused by a cookie name/value of "?"

Entry <2> is outside the range of <list>. (560)


EXPLANATION:

All cookies (names and values) can be set to "?" (without quotes" ").

Setting the WEBSPEEDCNF environment variable like "webspeed.cnf", without the path, is incorrect and causes the error condition. The following will reproduce the error.

1) Start WebSpeed broker from DLC (installation directory,
like /usr/wsrt).
2) The broker finds the CNF file because the file is in the
current directory, and launches agents.
3) The working directory for the application is different,
that is, not DLC.
4) The agents will not find the CNF file, because the
working and application directories do not have it.
5) The agents will not cause start errors, however the
environmental variables, CookiePath and CookieDomain, will
be assigned as "?" (without the quotes" ").
6) When set-cookie is used with "?" for domain and path,
the method function will use the variables above to
create set "set cookie string" for web server.
7) The set cookie string will result in "?".
8) No real cookies will be set, but every expected cookie
will have a name and/or value of "?".
9) Every call to get-cookie function will result a 560 error.
The File section of Workshop will also not work.
10) The very particular situation where this was discovered
was "change the get-cookie code and recompile
web-util.p" for test num-entries.
11) The message was hidden, it does not fix the problem,
and the problem was just the incorrect setting of the
WEBSPEEDCNF environment variable.

Enhancement request 0000001256 has been logged concerning this behavior.