Web Connection
WWWC_DEFAULT_SESSIONCOOKIE_NAME error during wwresponse
I just started receiving this error after recompiling my 4.68 webconnection executable, then running it, and the first request gives this error message.
Variable 'WWWC_DEFAULT_SESSIONCOOKIE_NAME' is not found.
All was fine yesterday. Not sure what i did. My project's WCONNECT.H file ends with....
**** CUSTOMIZE AND OVERRIDE SETTINGS INDEPENDENTLY
**** OF THE WC INSTALLATION
#IF FILE("WCONNECT_OVERRIDE.H")
#INCLUDE WCONNECT_OVERRIDE.H
#ENDIF
*!* WCONNECT_OVERRIDE.H would contain (for example):
*!* #UNDEFINE DEBUGMODE
*!* #DEFINE DEBUGMODE .T.
*!* #UNDEFINE SERVER_IN_DESKTOP
*!* #DEFINE SERVER_IN_DESKTOP .T.
The variable WWWC_DEFAULT_SESSIONCOOKIE_NAME is defined/referenced in the wconnect.h file:
*** Default Session Cookie Name
#DEFINE WWWC_DEFAULT_SESSIONCOOKIE_NAME "WCSESSIONSTATE"
You need to recompile your code and make sure that wconnect.h is in your path when the file or app is rebuilt.
+++ Rick ---
Thanks Rick. I had recompiled all PRGs and VCXs. Turns out i had a file WCONNECT.H in my project's main dev folder and there was also one in the WEBCONNECTION folder. I removed the one in main dev folder and recompiled. That fixed it.