Hello, ND developers. I have a question concerning cookie's which has me
confused. I am basically setting a cookie when the user hits an 'OK' button
on page A, then I load page B and try to capture the cookie string in
this_onBeforeLoadEvent of the page with no success.
On successive calls the cookie is being recognized, it just seems that the
cookie is not being recognized the first time...
1) Cookie is being set from JavaScript on the 'OK' button click and that
part works fine
2) I'm not sure if it matters but I'm developing in ND 4.x
public int this_onBeforeLoadEvent(CSpPageEvent event)
{
CSpString csCookieVal = (CSpString)
CSpider.getWebEnvVar(CSpVars.HTTP_COOKIE);
writeLog ("Cookie String: " + csCookieVal); // Writing
to log file
..........
}
Log file displays 'null' for the cookie string the first time through.......
on successive calls from the client however, the log file is displaying the
correct cookie string.....
Any help would be appreciated!
Thanks,
Pablo
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]