Kbase P99806: Cookie not being read by the WebSpeed when accessing the page using the hyperlink
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/10/2005 |
|
Status: Unverified
FACT(s) (Environment):
WebSpeed 3.x
OpenEdge 10.x
SYMPTOM(s):
Cookie not being read by the WebSpeed when accessing the page using the hyperlink
WebSpeed functions get-cookie and get-value do not return cookie with GET request, but only with POST request
Hyperlink used when the cookie is not returned is http://hostname/cgi-bin/wspd_cgi.sh/wservice=wsbroker1/getcookie.r
Cookie is being correctly retrieved when using '<FORM ACTION='getcookie.r method='POST'>
CAUSE:
Typo in the hyperlink URL where the 'wservice' is all typed in the lowercase is having
different cookie path than the one used to set the cookie which had 'WService' with
first two letters capitalized.
FIX:
Make sure that the domain and the path for the set cookie are equal when
retrieving the cookie from the WebSpeed agent.
The domain as in <hostname> and the path as in </cgi-bin/wspd_cgi.sh/WService=wsbroker1> need
to be same for the browser to return the cookie.