zval **data;
char *p;
int send_cookie = 1;
+ int define_sid = 1;
int module_number = PS(module_number);
int nrand;
int lensess;
/*
- * Cookies are preferred, because initially
+ * Cookies are preferred, because initially
* cookie and get variables will be available.
*/
PPID2SID;
PS(apply_trans_sid) = 0;
send_cookie = 0;
+ define_sid = 0;
}
if (!PS(id) &&
}
- /* define SID always, if the client did not send a cookie */
- if (send_cookie) {
+ if (define_sid) {
smart_str var = {0};
smart_str_appends(&var, PS(session_name));