Skip to content

Server Configs

suraj inamdar edited this page Apr 19, 2020 · 1 revision

Server Configs

Server Configs can be found in ServerConfig.h file under common config folder. It consist of web portal login credential defaults and session max duration like parameters

  • username: username in login credential table
  • password: password for the same
  • session_name: session at client side saved with this name
  • cookie_max_age: max age of session for web client defined in seconds

Default definitions

#define DEFAULT_LOGIN_USERNAME     USER
#define DEFAULT_LOGIN_PASSWORD     PASSPHRASE

#define EW_SESSION_NAME      "ew_session"
#define EW_COOKIE_MAX_AGE    300
Clone this wiki locally