PS 345 ext/session/mod_files.c if (PS(use_strict_mode) && PS 349 ext/session/mod_files.c efree(PS(id)); PS 350 ext/session/mod_files.c PS(id) = NULL; PS 352 ext/session/mod_files.c PS(id) = PS(mod)->s_create_sid((void **)&data, NULL TSRMLS_CC); PS 353 ext/session/mod_files.c if (!PS(id)) { PS 356 ext/session/mod_files.c if (PS(use_cookies)) { PS 357 ext/session/mod_files.c PS(send_cookie) = 1; PS 360 ext/session/mod_files.c PS(session_status) = php_session_active; PS 363 ext/session/mod_files.c ps_files_open(data, PS(id) TSRMLS_CC); PS 276 ext/session/mod_mm.c int save_path_len = strlen(PS(save_path)); PS 296 ext/session/mod_mm.c memcpy(ps_mm_path, PS(save_path), save_path_len); PS 297 ext/session/mod_mm.c if (save_path_len && PS(save_path)[save_path_len - 1] != DEFAULT_SLASH) { PS 359 ext/session/mod_mm.c if (PS(use_strict_mode) PS 363 ext/session/mod_mm.c efree(PS(id)); PS 364 ext/session/mod_mm.c PS(id) = NULL; PS 366 ext/session/mod_mm.c PS(id) = PS(mod)->s_create_sid((void **)&data, NULL TSRMLS_CC); PS 367 ext/session/mod_mm.c if (!PS(id)) { PS 370 ext/session/mod_mm.c if (PS(use_cookies)) { PS 371 ext/session/mod_mm.c PS(send_cookie) = 1; PS 374 ext/session/mod_mm.c PS(session_status) = php_session_active; PS 377 ext/session/mod_mm.c sd = ps_sd_lookup(data, PS(id), 0); PS 69 ext/session/mod_user.c #define PSF(a) PS(mod_user_names).name.ps_##a PS 95 ext/session/mod_user.c PS(mod_user_implemented) = 1; PS 105 ext/session/mod_user.c if (!PS(mod_user_implemented)) { PS 116 ext/session/mod_user.c PS(mod_user_implemented) = 0; PS 25 ext/session/mod_user_class.c if (PS(default_mod) == NULL) { \ PS 32 ext/session/mod_user_class.c if (!PS(mod_user_is_open)) { \ PS 50 ext/session/mod_user_class.c PS(mod_user_is_open) = 1; PS 51 ext/session/mod_user_class.c RETVAL_BOOL(SUCCESS == PS(default_mod)->s_open(&PS(mod_data), save_path, session_name TSRMLS_CC)); PS 65 ext/session/mod_user_class.c PS(mod_user_is_open) = 0; PS 66 ext/session/mod_user_class.c RETVAL_BOOL(SUCCESS == PS(default_mod)->s_close(&PS(mod_data) TSRMLS_CC)); PS 83 ext/session/mod_user_class.c if (PS(default_mod)->s_read(&PS(mod_data), key, &val, &val_len TSRMLS_CC) == FAILURE) { PS 107 ext/session/mod_user_class.c RETVAL_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, val_len TSRMLS_CC)); PS 124 ext/session/mod_user_class.c RETVAL_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key TSRMLS_CC)); PS 141 ext/session/mod_user_class.c RETVAL_BOOL(SUCCESS == PS(default_mod)->s_gc(&PS(mod_data), maxlifetime, &nrdels TSRMLS_CC)); PS 157 ext/session/mod_user_class.c id = PS(default_mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC); PS 249 ext/session/php_session.h if (PS(http_session_vars)) { \ PS 250 ext/session/php_session.h zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1); \ PS 262 ext/session/php_session.h HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); \ PS 81 ext/session/session.c if (PS(http_session_vars) && PS(http_session_vars)->type == IS_ARRAY) PS 84 ext/session/session.c if (PS(session_status) == php_session_active) { \ PS 94 ext/session/session.c PS(id) = NULL; PS 95 ext/session/session.c PS(session_status) = php_session_none; PS 96 ext/session/session.c PS(mod_data) = NULL; PS 97 ext/session/session.c PS(mod_user_is_open) = 0; PS 99 ext/session/session.c PS(http_session_vars) = NULL; PS 106 ext/session/session.c if (PS(http_session_vars)) { PS 107 ext/session/session.c zval_ptr_dtor(&PS(http_session_vars)); PS 108 ext/session/session.c PS(http_session_vars) = NULL; PS 111 ext/session/session.c if (PS(mod_data) || PS(mod_user_implemented)) { PS 113 ext/session/session.c PS(mod)->s_close(&PS(mod_data) TSRMLS_CC); PS 116 ext/session/session.c if (PS(id)) { PS 117 ext/session/session.c efree(PS(id)); PS 118 ext/session/session.c PS(id) = NULL; PS 127 ext/session/session.c if (PS(session_status) != php_session_active) { PS 132 ext/session/session.c if (PS(id) && PS(mod)->s_destroy(&PS(mod_data), PS(id) TSRMLS_CC) == FAILURE) { PS 149 ext/session/session.c zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void *) &sym_track); PS 158 ext/session/session.c ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1, empty_var, 1, 0); PS 166 ext/session/session.c zend_set_hash_symbol(state_val, name, namelen, PZVAL_IS_REF(state_val), 1, Z_ARRVAL_P(PS(http_session_vars))); PS 176 ext/session/session.c ret = zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void **) state_var); PS 189 ext/session/session.c if (PS(http_session_vars)) { PS 190 ext/session/session.c zval_ptr_dtor(&PS(http_session_vars)); PS 195 ext/session/session.c PS(http_session_vars) = session_vars; PS 197 ext/session/session.c ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 1); PS 206 ext/session/session.c if (!PS(serializer)) { PS 209 ext/session/session.c } else if (PS(serializer)->encode(&ret, newlen TSRMLS_CC) == FAILURE) { PS 221 ext/session/session.c if (!PS(serializer)) { PS 225 ext/session/session.c if (PS(serializer)->decode(val, vallen TSRMLS_CC) == FAILURE) { PS 314 ext/session/session.c switch (PS(hash_func)) { PS 327 ext/session/session.c if (!PS(hash_ops)) { PS 333 ext/session/session.c hash_context = emalloc(PS(hash_ops)->context_size); PS 334 ext/session/session.c PS(hash_ops)->hash_init(hash_context); PS 335 ext/session/session.c PS(hash_ops)->hash_update(hash_context, (unsigned char *) buf, strlen(buf)); PS 336 ext/session/session.c digest_len = PS(hash_ops)->digest_size; PS 346 ext/session/session.c if (PS(entropy_length) > 0) { PS 349 ext/session/session.c size_t toread = PS(entropy_length); PS 353 ext/session/session.c switch (PS(hash_func)) { PS 362 ext/session/session.c PS(hash_ops)->hash_update(hash_context, rbuf, toread); PS 370 ext/session/session.c fd = VCWD_OPEN(PS(entropy_file), O_RDONLY); PS 374 ext/session/session.c int to_read = PS(entropy_length); PS 380 ext/session/session.c switch (PS(hash_func)) { PS 389 ext/session/session.c PS(hash_ops)->hash_update(hash_context, rbuf, n); PS 401 ext/session/session.c switch (PS(hash_func)) { PS 410 ext/session/session.c PS(hash_ops)->hash_final(digest, hash_context); PS 416 ext/session/session.c if (PS(hash_bits_per_character) < 4 PS 417 ext/session/session.c || PS(hash_bits_per_character) > 6) { PS 418 ext/session/session.c PS(hash_bits_per_character) = 4; PS 423 ext/session/session.c outid = emalloc((size_t)((digest_len + 2) * ((8.0f / PS(hash_bits_per_character)) + 0.5))); PS 424 ext/session/session.c j = (int) (bin_to_readable((char *)digest, digest_len, outid, (char)PS(hash_bits_per_character)) - outid); PS 474 ext/session/session.c if (!PS(mod)) { PS 480 ext/session/session.c if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name) TSRMLS_CC) == FAILURE) { PS 481 ext/session/session.c php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to initialize storage module: %s (path: %s)", PS(mod)->s_name, PS(save_path)); PS 486 ext/session/session.c if (!PS(id)) { PS 487 ext/session/session.c PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC); PS 488 ext/session/session.c if (!PS(id)) { PS 489 ext/session/session.c php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to create session ID: %s (path: %s)", PS(mod)->s_name, PS(save_path)); PS 492 ext/session/session.c if (PS(use_cookies)) { PS 493 ext/session/session.c PS(send_cookie) = 1; PS 498 ext/session/session.c if (!PS(use_strict_mode)) { PS 500 ext/session/session.c PS(session_status) = php_session_active; PS 505 ext/session/session.c if (PS(mod)->s_read(&PS(mod_data), PS(id), &val, &vallen TSRMLS_CC) == FAILURE) { PS 513 ext/session/session.c if (PS(use_strict_mode) && PS(session_status) != php_session_active) { PS 515 ext/session/session.c PS(session_status) = php_session_active; PS 522 ext/session/session.c if (!PS(use_cookies) && PS(send_cookie)) { PS 523 ext/session/session.c if (PS(use_trans_sid) && !PS(use_only_cookies)) { PS 524 ext/session/session.c PS(apply_trans_sid) = 1; PS 526 ext/session/session.c PS(send_cookie) = 0; PS 536 ext/session/session.c if (PS(mod_data) || PS(mod_user_implemented)) { PS 542 ext/session/session.c ret = PS(mod)->s_write(&PS(mod_data), PS(id), val, vallen TSRMLS_CC); PS 545 ext/session/session.c ret = PS(mod)->s_write(&PS(mod_data), PS(id), "", 0 TSRMLS_CC); PS 553 ext/session/session.c PS(mod)->s_name, PS 554 ext/session/session.c PS(save_path)); PS 558 ext/session/session.c if (PS(mod_data) || PS(mod_user_implemented)) { PS 559 ext/session/session.c PS(mod)->s_close(&PS(mod_data) TSRMLS_CC); PS 591 ext/session/session.c PS(default_mod) = PS(mod); PS 592 ext/session/session.c PS(mod) = tmp; PS 620 ext/session/session.c PS(serializer) = tmp; PS 631 ext/session/session.c PS(use_trans_sid) = (zend_bool) 1; PS 633 ext/session/session.c PS(use_trans_sid) = (zend_bool) atoi(new_value); PS 701 ext/session/session.c PS(hash_ops) = NULL; PS 707 ext/session/session.c PS(hash_func) = val ? 1 : 0; PS 714 ext/session/session.c PS(hash_func) = PS_HASH_FUNC_MD5; PS 721 ext/session/session.c PS(hash_func) = PS_HASH_FUNC_SHA1; PS 731 ext/session/session.c PS(hash_func) = PS_HASH_FUNC_OTHER; PS 732 ext/session/session.c PS(hash_ops) = ops; PS 757 ext/session/session.c PS(rfc1867_freq) = -tmp; PS 759 ext/session/session.c PS(rfc1867_freq) = tmp; PS 846 ext/session/session.c php_var_serialize(&buf, &PS(http_session_vars), &var_hash TSRMLS_CC); PS 867 ext/session/session.c if (PS(http_session_vars)) { PS 868 ext/session/session.c zval_ptr_dtor(&PS(http_session_vars)); PS 873 ext/session/session.c PS(http_session_vars) = session_vars; PS 874 ext/session/session.c ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 1); PS 940 ext/session/session.c if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) { PS 1033 ext/session/session.c if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) { PS 1190 ext/session/session.c now = tv.tv_sec + PS(cache_expire) * 60; PS 1195 ext/session/session.c snprintf(buf, sizeof(buf) , "Cache-Control: public, max-age=%ld", PS(cache_expire) * 60); /* SAFE */ PS 1206 ext/session/session.c snprintf(buf, sizeof(buf), "Cache-Control: private, max-age=%ld, pre-check=%ld", PS(cache_expire) * 60, PS(cache_expire) * 60); /* SAFE */ PS 1244 ext/session/session.c if (PS(cache_limiter)[0] == '\0') return 0; PS 1259 ext/session/session.c if (!strcasecmp(lim->name, PS(cache_limiter))) { PS 1294 ext/session/session.c e_session_name = php_url_encode(PS(session_name), strlen(PS(session_name)), NULL); PS 1343 ext/session/session.c e_session_name = php_url_encode(PS(session_name), strlen(PS(session_name)), NULL); PS 1344 ext/session/session.c e_id = php_url_encode(PS(id), strlen(PS(id)), NULL); PS 1354 ext/session/session.c if (PS(cookie_lifetime) > 0) { PS 1359 ext/session/session.c t = tv.tv_sec + PS(cookie_lifetime); PS 1368 ext/session/session.c smart_str_append_long(&ncookie, PS(cookie_lifetime)); PS 1372 ext/session/session.c if (PS(cookie_path)[0]) { PS 1374 ext/session/session.c smart_str_appends(&ncookie, PS(cookie_path)); PS 1377 ext/session/session.c if (PS(cookie_domain)[0]) { PS 1379 ext/session/session.c smart_str_appends(&ncookie, PS(cookie_domain)); PS 1382 ext/session/session.c if (PS(cookie_secure)) { PS 1386 ext/session/session.c if (PS(cookie_httponly)) { PS 1430 ext/session/session.c PS(id) = NULL; PS 1431 ext/session/session.c PS(send_cookie) = 1; PS 1434 ext/session/session.c PS(id) = estrndup(Z_STRVAL_PP(ppid), Z_STRLEN_PP(ppid)); PS 1435 ext/session/session.c PS(send_cookie) = 0; PS 1441 ext/session/session.c int module_number = PS(module_number); PS 1443 ext/session/session.c if (!PS(id)) { PS 1448 ext/session/session.c if (PS(use_cookies) && PS(send_cookie)) { PS 1450 ext/session/session.c PS(send_cookie) = 0; PS 1456 ext/session/session.c if (PS(define_sid)) { PS 1459 ext/session/session.c smart_str_appends(&var, PS(session_name)); PS 1461 ext/session/session.c smart_str_appends(&var, PS(id)); PS 1468 ext/session/session.c if (PS(apply_trans_sid)) { PS 1470 ext/session/session.c php_url_scanner_add_var(PS(session_name), strlen(PS(session_name)), PS(id), strlen(PS(id)), 1 TSRMLS_CC); PS 1483 ext/session/session.c if (PS(use_only_cookies)) { PS 1484 ext/session/session.c PS(apply_trans_sid) = 0; PS 1486 ext/session/session.c PS(apply_trans_sid) = PS(use_trans_sid); PS 1489 ext/session/session.c switch (PS(session_status)) { PS 1497 ext/session/session.c if (!PS(mod) && value) { PS 1498 ext/session/session.c PS(mod) = _php_find_ps_module(value TSRMLS_CC); PS 1499 ext/session/session.c if (!PS(mod)) { PS 1505 ext/session/session.c if (!PS(serializer) && value) { PS 1506 ext/session/session.c PS(serializer) = _php_find_ps_serializer(value TSRMLS_CC); PS 1507 ext/session/session.c if (!PS(serializer)) { PS 1512 ext/session/session.c PS(session_status) = php_session_none; PS 1517 ext/session/session.c PS(define_sid) = 1; PS 1518 ext/session/session.c PS(send_cookie) = 1; PS 1521 ext/session/session.c lensess = strlen(PS(session_name)); PS 1526 ext/session/session.c if (!PS(id)) { PS 1527 ext/session/session.c if (PS(use_cookies) && zend_hash_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE"), (void **) &data) == SUCCESS && PS 1529 ext/session/session.c zend_hash_find(Z_ARRVAL_PP(data), PS(session_name), lensess + 1, (void **) &ppid) == SUCCESS PS 1532 ext/session/session.c PS(apply_trans_sid) = 0; PS 1533 ext/session/session.c PS(define_sid) = 0; PS 1536 ext/session/session.c if (!PS(use_only_cookies) && !PS(id) && PS 1539 ext/session/session.c zend_hash_find(Z_ARRVAL_PP(data), PS(session_name), lensess + 1, (void **) &ppid) == SUCCESS PS 1544 ext/session/session.c if (!PS(use_only_cookies) && !PS(id) && PS 1547 ext/session/session.c zend_hash_find(Z_ARRVAL_PP(data), PS(session_name), lensess + 1, (void **) &ppid) == SUCCESS PS 1557 ext/session/session.c if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] && PS 1560 ext/session/session.c (p = strstr(Z_STRVAL_PP(data), PS(session_name))) && PS 1567 ext/session/session.c PS(id) = estrndup(p, q - p); PS 1568 ext/session/session.c PS(send_cookie) = 0; PS 1575 ext/session/session.c if (PS(id) && PS 1576 ext/session/session.c PS(extern_referer_chk)[0] != '\0' && PS 1581 ext/session/session.c strstr(Z_STRVAL_PP(data), PS(extern_referer_chk)) == NULL PS 1583 ext/session/session.c efree(PS(id)); PS 1584 ext/session/session.c PS(id) = NULL; PS 1585 ext/session/session.c PS(send_cookie) = 1; PS 1586 ext/session/session.c if (PS(use_trans_sid) && !PS(use_only_cookies)) { PS 1587 ext/session/session.c PS(apply_trans_sid) = 1; PS 1593 ext/session/session.c if (PS(id) && strpbrk(PS(id), "\r\n\t <>'\"\\")) { PS 1594 ext/session/session.c efree(PS(id)); PS 1595 ext/session/session.c PS(id) = NULL; PS 1601 ext/session/session.c if ((PS(mod_data) || PS(mod_user_implemented)) && PS(gc_probability) > 0) { PS 1604 ext/session/session.c nrand = (int) ((float) PS(gc_divisor) * php_combined_lcg(TSRMLS_C)); PS 1605 ext/session/session.c if (nrand < PS(gc_probability)) { PS 1606 ext/session/session.c PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels TSRMLS_CC); PS 1619 ext/session/session.c if (PS(session_status) == php_session_active) { PS 1620 ext/session/session.c PS(session_status) = php_session_none; PS 1628 ext/session/session.c if (PS(session_status) == php_session_active) { PS 1629 ext/session/session.c PS(session_status) = php_session_none; PS 1630 ext/session/session.c if (PS(mod_data) || PS(mod_user_implemented)) { PS 1631 ext/session/session.c PS(mod)->s_close(&PS(mod_data) TSRMLS_CC); PS 1639 ext/session/session.c if (PS(session_status) == php_session_active) { PS 1648 ext/session/session.c if (PS(apply_trans_sid) && (PS(session_status) == php_session_active)) { PS 1649 ext/session/session.c *new = php_url_scanner_adapt_single_url(url, urllen, PS(session_name), PS(id), newlen TSRMLS_CC); PS 1667 ext/session/session.c if (!PS(use_cookies) || PS 1702 ext/session/session.c add_assoc_long(return_value, "lifetime", PS(cookie_lifetime)); PS 1703 ext/session/session.c add_assoc_string(return_value, "path", PS(cookie_path), 1); PS 1704 ext/session/session.c add_assoc_string(return_value, "domain", PS(cookie_domain), 1); PS 1705 ext/session/session.c add_assoc_bool(return_value, "secure", PS(cookie_secure)); PS 1706 ext/session/session.c add_assoc_bool(return_value, "httponly", PS(cookie_httponly)); PS 1721 ext/session/session.c RETVAL_STRING(PS(session_name), 1); PS 1741 ext/session/session.c if (PS(mod) && PS(mod)->s_name) { PS 1742 ext/session/session.c RETVAL_STRING(safe_estrdup(PS(mod)->s_name), 0); PS 1754 ext/session/session.c if (PS(mod_data) || PS(mod_user_implemented)) { PS 1755 ext/session/session.c PS(mod)->s_close(&PS(mod_data) TSRMLS_CC); PS 1757 ext/session/session.c PS(mod_data) = NULL; PS 1772 ext/session/session.c if (PS(session_status) != php_session_none) { PS 1797 ext/session/session.c if (PS(mod_user_names).names[i] != NULL) { PS 1798 ext/session/session.c zval_ptr_dtor(&PS(mod_user_names).names[i]); PS 1806 ext/session/session.c PS(mod_user_names).names[i] = callback; PS 1822 ext/session/session.c if (PS(mod_user_names).names[i] != NULL) { PS 1823 ext/session/session.c zval_ptr_dtor(&PS(mod_user_names).names[i]); PS 1831 ext/session/session.c PS(mod_user_names).names[i] = callback; PS 1859 ext/session/session.c if (PS(mod) && PS(session_status) == php_session_none && PS(mod) != &ps_mod_user) { PS 1888 ext/session/session.c if (PS(mod) && PS(mod) != &ps_mod_user) { PS 1893 ext/session/session.c if (PS(mod_user_names).names[i] != NULL) { PS 1894 ext/session/session.c zval_ptr_dtor(&PS(mod_user_names).names[i]); PS 1897 ext/session/session.c PS(mod_user_names).names[i] = *args[i]; PS 1916 ext/session/session.c RETVAL_STRING(PS(save_path), 1); PS 1940 ext/session/session.c if (PS(id)) { PS 1941 ext/session/session.c RETVAL_STRING(PS(id), 1); PS 1947 ext/session/session.c if (PS(id)) { PS 1948 ext/session/session.c efree(PS(id)); PS 1950 ext/session/session.c PS(id) = estrndup(name, name_len); PS 1965 ext/session/session.c if (SG(headers_sent) && PS(use_cookies)) { PS 1970 ext/session/session.c if (PS(session_status) == php_session_active) { PS 1971 ext/session/session.c if (PS(id)) { PS 1972 ext/session/session.c if (del_ses && PS(mod)->s_destroy(&PS(mod_data), PS(id) TSRMLS_CC) == FAILURE) { PS 1976 ext/session/session.c efree(PS(id)); PS 1979 ext/session/session.c PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC); PS 1980 ext/session/session.c if (PS(id)) { PS 1981 ext/session/session.c PS(send_cookie) = 1; PS 1985 ext/session/session.c PS(id) = STR_EMPTY_ALLOC(); PS 2003 ext/session/session.c RETVAL_STRING(PS(cache_limiter), 1); PS 2022 ext/session/session.c RETVAL_LONG(PS(cache_expire)); PS 2058 ext/session/session.c if (PS(session_status) == php_session_none) { PS 2077 ext/session/session.c if (PS(id) && !strlen(PS(id))) { PS 2084 ext/session/session.c if (PS(session_status) != php_session_active) { PS 2107 ext/session/session.c if (PS(session_status) == php_session_none) { PS 2114 ext/session/session.c SEPARATE_ZVAL_IF_NOT_REF(&PS(http_session_vars)); PS 2115 ext/session/session.c ht_sess_var = Z_ARRVAL_P(PS(http_session_vars)); PS 2155 ext/session/session.c RETURN_LONG(PS(session_status)); PS 2350 ext/session/session.c if (PS(mod) == NULL) { PS 2355 ext/session/session.c PS(mod) = _php_find_ps_module(value TSRMLS_CC); PS 2359 ext/session/session.c if (PS(serializer) == NULL) { PS 2364 ext/session/session.c PS(serializer) = _php_find_ps_serializer(value TSRMLS_CC); PS 2368 ext/session/session.c if (PS(mod) == NULL || PS(serializer) == NULL) { PS 2370 ext/session/session.c PS(session_status) = php_session_disabled; PS 2383 ext/session/session.c return php_rinit_session(PS(auto_start) TSRMLS_CC); PS 2398 ext/session/session.c if (PS(mod_user_names).names[i] != NULL) { PS 2399 ext/session/session.c zval_ptr_dtor(&PS(mod_user_names).names[i]); PS 2400 ext/session/session.c PS(mod_user_names).names[i] = NULL; PS 2435 ext/session/session.c PS(module_number) = module_number; /* if we really need this var we need to init it in zts mode as well! */ PS 2437 ext/session/session.c PS(session_status) = php_session_none; PS 2558 ext/session/session.c if (zend_hash_find(Z_ARRVAL_P(PG(http_globals)[where]), PS(session_name), progress->sname_len+1, (void **)&ppid) == SUCCESS PS 2571 ext/session/session.c if (PS(use_cookies)) { PS 2578 ext/session/session.c if (PS(use_only_cookies)) { PS 2589 ext/session/session.c if (zend_symtable_find(Z_ARRVAL_P(PS(http_session_vars)), progress->key.c, progress->key.len+1, (void**)&progress_ary) != SUCCESS) { PS 2608 ext/session/session.c if (PS(rfc1867_min_freq) > 0.0) { PS 2616 ext/session/session.c progress->next_update_time = dtv + PS(rfc1867_min_freq); PS 2623 ext/session/session.c PS(session_status) = php_session_active; PS 2626 ext/session/session.c ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), progress->key.c, progress->key.len+1, progress->data, 2, 0); PS 2634 ext/session/session.c PS(session_status) = php_session_active; PS 2636 ext/session/session.c zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), progress->key.c, progress->key.len+1); PS 2649 ext/session/session.c if (!PS(rfc1867_enabled)) { PS 2653 ext/session/session.c progress = PS(rfc1867_progress); PS 2660 ext/session/session.c progress->sname_len = strlen(PS(session_name)); PS 2661 ext/session/session.c PS(rfc1867_progress) = progress; PS 2682 ext/session/session.c if (name_len == progress->sname_len && memcmp(data->name, PS(session_name), name_len) == 0) { PS 2686 ext/session/session.c } else if (name_len == PS(rfc1867_name).len && memcmp(data->name, PS(rfc1867_name).c, name_len) == 0) { PS 2688 ext/session/session.c smart_str_appendl(&progress->key, PS(rfc1867_prefix).c, PS(rfc1867_prefix).len); PS 2692 ext/session/session.c progress->apply_trans_sid = PS(use_trans_sid); PS 2710 ext/session/session.c if (PS(rfc1867_freq) >= 0) { PS 2711 ext/session/session.c progress->update_step = PS(rfc1867_freq); PS 2712 ext/session/session.c } else if (PS(rfc1867_freq) < 0) { /* % of total size */ PS 2713 ext/session/session.c progress->update_step = progress->content_length * -PS(rfc1867_freq) / 100; PS 2734 ext/session/session.c PS(id) = estrndup(Z_STRVAL(progress->sid), Z_STRLEN(progress->sid)); PS 2735 ext/session/session.c PS(apply_trans_sid) = progress->apply_trans_sid; PS 2736 ext/session/session.c PS(send_cookie) = 0; PS 2797 ext/session/session.c if (PS(rfc1867_cleanup)) { PS 2814 ext/session/session.c PS(rfc1867_progress) = NULL; PS 1675 ext/soap/soap.c if (PS(session_status) != php_session_active && PS 1676 ext/soap/soap.c PS(session_status) != php_session_disabled) { PS 1681 ext/soap/soap.c if (zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), "_bogus_session_name", sizeof("_bogus_session_name"), (void **) &tmp_soap) == SUCCESS && PS 1757 ext/soap/soap.c if (zend_hash_update(Z_ARRVAL_P(PS(http_session_vars)), "_bogus_session_name", sizeof("_bogus_session_name"), &tmp_soap, sizeof(zval *), (void **)&tmp_soap_pp) == SUCCESS) {