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 248 ext/session/php_session.h if (PS(http_session_vars)) { \ PS 249 ext/session/php_session.h zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1); \ PS 261 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 756 ext/session/session.c PS(rfc1867_freq) = -tmp; PS 758 ext/session/session.c PS(rfc1867_freq) = tmp; PS 845 ext/session/session.c php_var_serialize(&buf, &PS(http_session_vars), &var_hash TSRMLS_CC); PS 866 ext/session/session.c if (PS(http_session_vars)) { PS 867 ext/session/session.c zval_ptr_dtor(&PS(http_session_vars)); PS 872 ext/session/session.c PS(http_session_vars) = session_vars; PS 873 ext/session/session.c ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 1); PS 939 ext/session/session.c if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) { PS 1032 ext/session/session.c if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) { PS 1189 ext/session/session.c now = tv.tv_sec + PS(cache_expire) * 60; PS 1194 ext/session/session.c snprintf(buf, sizeof(buf) , "Cache-Control: public, max-age=%ld", PS(cache_expire) * 60); /* SAFE */ PS 1205 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 1243 ext/session/session.c if (PS(cache_limiter)[0] == '\0') return 0; PS 1258 ext/session/session.c if (!strcasecmp(lim->name, PS(cache_limiter))) { PS 1293 ext/session/session.c e_session_name = php_url_encode(PS(session_name), strlen(PS(session_name)), NULL); PS 1342 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_id = php_url_encode(PS(id), strlen(PS(id)), NULL); PS 1353 ext/session/session.c if (PS(cookie_lifetime) > 0) { PS 1358 ext/session/session.c t = tv.tv_sec + PS(cookie_lifetime); PS 1367 ext/session/session.c smart_str_append_long(&ncookie, PS(cookie_lifetime)); PS 1371 ext/session/session.c if (PS(cookie_path)[0]) { PS 1373 ext/session/session.c smart_str_appends(&ncookie, PS(cookie_path)); PS 1376 ext/session/session.c if (PS(cookie_domain)[0]) { PS 1378 ext/session/session.c smart_str_appends(&ncookie, PS(cookie_domain)); PS 1381 ext/session/session.c if (PS(cookie_secure)) { PS 1385 ext/session/session.c if (PS(cookie_httponly)) { PS 1429 ext/session/session.c PS(id) = NULL; PS 1430 ext/session/session.c PS(send_cookie) = 1; PS 1433 ext/session/session.c PS(id) = estrndup(Z_STRVAL_PP(ppid), Z_STRLEN_PP(ppid)); PS 1434 ext/session/session.c PS(send_cookie) = 0; PS 1440 ext/session/session.c int module_number = PS(module_number); PS 1442 ext/session/session.c if (!PS(id)) { PS 1447 ext/session/session.c if (PS(use_cookies) && PS(send_cookie)) { PS 1449 ext/session/session.c PS(send_cookie) = 0; PS 1455 ext/session/session.c if (PS(define_sid)) { PS 1458 ext/session/session.c smart_str_appends(&var, PS(session_name)); PS 1460 ext/session/session.c smart_str_appends(&var, PS(id)); PS 1467 ext/session/session.c if (PS(apply_trans_sid)) { PS 1469 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 1482 ext/session/session.c if (PS(use_only_cookies)) { PS 1483 ext/session/session.c PS(apply_trans_sid) = 0; PS 1485 ext/session/session.c PS(apply_trans_sid) = PS(use_trans_sid); PS 1488 ext/session/session.c switch (PS(session_status)) { PS 1496 ext/session/session.c if (!PS(mod) && value) { PS 1497 ext/session/session.c PS(mod) = _php_find_ps_module(value TSRMLS_CC); PS 1498 ext/session/session.c if (!PS(mod)) { PS 1504 ext/session/session.c if (!PS(serializer) && value) { PS 1505 ext/session/session.c PS(serializer) = _php_find_ps_serializer(value TSRMLS_CC); PS 1506 ext/session/session.c if (!PS(serializer)) { PS 1511 ext/session/session.c PS(session_status) = php_session_none; PS 1516 ext/session/session.c PS(define_sid) = 1; PS 1517 ext/session/session.c PS(send_cookie) = 1; PS 1520 ext/session/session.c lensess = strlen(PS(session_name)); PS 1525 ext/session/session.c if (!PS(id)) { PS 1526 ext/session/session.c if (PS(use_cookies) && zend_hash_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE"), (void **) &data) == SUCCESS && PS 1528 ext/session/session.c zend_hash_find(Z_ARRVAL_PP(data), PS(session_name), lensess + 1, (void **) &ppid) == SUCCESS PS 1531 ext/session/session.c PS(apply_trans_sid) = 0; PS 1532 ext/session/session.c PS(define_sid) = 0; PS 1535 ext/session/session.c if (!PS(use_only_cookies) && !PS(id) && PS 1538 ext/session/session.c zend_hash_find(Z_ARRVAL_PP(data), PS(session_name), lensess + 1, (void **) &ppid) == SUCCESS PS 1543 ext/session/session.c if (!PS(use_only_cookies) && !PS(id) && PS 1546 ext/session/session.c zend_hash_find(Z_ARRVAL_PP(data), PS(session_name), lensess + 1, (void **) &ppid) == SUCCESS PS 1556 ext/session/session.c if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] && PS 1559 ext/session/session.c (p = strstr(Z_STRVAL_PP(data), PS(session_name))) && PS 1566 ext/session/session.c PS(id) = estrndup(p, q - p); PS 1567 ext/session/session.c PS(send_cookie) = 0; PS 1574 ext/session/session.c if (PS(id) && PS 1575 ext/session/session.c PS(extern_referer_chk)[0] != '\0' && PS 1580 ext/session/session.c strstr(Z_STRVAL_PP(data), PS(extern_referer_chk)) == NULL PS 1582 ext/session/session.c efree(PS(id)); PS 1583 ext/session/session.c PS(id) = NULL; PS 1584 ext/session/session.c PS(send_cookie) = 1; PS 1585 ext/session/session.c if (PS(use_trans_sid) && !PS(use_only_cookies)) { PS 1586 ext/session/session.c PS(apply_trans_sid) = 1; PS 1592 ext/session/session.c if (PS(id) && strpbrk(PS(id), "\r\n\t <>'\"\\")) { PS 1593 ext/session/session.c efree(PS(id)); PS 1594 ext/session/session.c PS(id) = NULL; PS 1600 ext/session/session.c if ((PS(mod_data) || PS(mod_user_implemented)) && PS(gc_probability) > 0) { PS 1603 ext/session/session.c nrand = (int) ((float) PS(gc_divisor) * php_combined_lcg(TSRMLS_C)); PS 1604 ext/session/session.c if (nrand < PS(gc_probability)) { PS 1605 ext/session/session.c PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels TSRMLS_CC); PS 1618 ext/session/session.c if (PS(session_status) == php_session_active) { PS 1619 ext/session/session.c PS(session_status) = php_session_none; PS 1627 ext/session/session.c if (PS(apply_trans_sid) && (PS(session_status) == php_session_active)) { PS 1628 ext/session/session.c *new = php_url_scanner_adapt_single_url(url, urllen, PS(session_name), PS(id), newlen TSRMLS_CC); PS 1646 ext/session/session.c if (!PS(use_cookies) || PS 1681 ext/session/session.c add_assoc_long(return_value, "lifetime", PS(cookie_lifetime)); PS 1682 ext/session/session.c add_assoc_string(return_value, "path", PS(cookie_path), 1); PS 1683 ext/session/session.c add_assoc_string(return_value, "domain", PS(cookie_domain), 1); PS 1684 ext/session/session.c add_assoc_bool(return_value, "secure", PS(cookie_secure)); PS 1685 ext/session/session.c add_assoc_bool(return_value, "httponly", PS(cookie_httponly)); PS 1700 ext/session/session.c RETVAL_STRING(PS(session_name), 1); PS 1720 ext/session/session.c if (PS(mod) && PS(mod)->s_name) { PS 1721 ext/session/session.c RETVAL_STRING(safe_estrdup(PS(mod)->s_name), 0); PS 1733 ext/session/session.c if (PS(mod_data) || PS(mod_user_implemented)) { PS 1734 ext/session/session.c PS(mod)->s_close(&PS(mod_data) TSRMLS_CC); PS 1736 ext/session/session.c PS(mod_data) = NULL; PS 1751 ext/session/session.c if (PS(session_status) != php_session_none) { PS 1776 ext/session/session.c if (PS(mod_user_names).names[i] != NULL) { PS 1777 ext/session/session.c zval_ptr_dtor(&PS(mod_user_names).names[i]); PS 1785 ext/session/session.c PS(mod_user_names).names[i] = callback; PS 1801 ext/session/session.c if (PS(mod_user_names).names[i] != NULL) { PS 1802 ext/session/session.c zval_ptr_dtor(&PS(mod_user_names).names[i]); PS 1810 ext/session/session.c PS(mod_user_names).names[i] = callback; PS 1838 ext/session/session.c if (PS(mod) && PS(session_status) == php_session_none && PS(mod) != &ps_mod_user) { PS 1867 ext/session/session.c if (PS(mod) && PS(mod) != &ps_mod_user) { PS 1872 ext/session/session.c if (PS(mod_user_names).names[i] != NULL) { PS 1873 ext/session/session.c zval_ptr_dtor(&PS(mod_user_names).names[i]); PS 1876 ext/session/session.c PS(mod_user_names).names[i] = *args[i]; PS 1895 ext/session/session.c RETVAL_STRING(PS(save_path), 1); PS 1919 ext/session/session.c if (PS(id)) { PS 1920 ext/session/session.c RETVAL_STRING(PS(id), 1); PS 1926 ext/session/session.c if (PS(id)) { PS 1927 ext/session/session.c efree(PS(id)); PS 1929 ext/session/session.c PS(id) = estrndup(name, name_len); PS 1944 ext/session/session.c if (SG(headers_sent) && PS(use_cookies)) { PS 1949 ext/session/session.c if (PS(session_status) == php_session_active) { PS 1950 ext/session/session.c if (PS(id)) { PS 1951 ext/session/session.c if (del_ses && PS(mod)->s_destroy(&PS(mod_data), PS(id) TSRMLS_CC) == FAILURE) { PS 1955 ext/session/session.c efree(PS(id)); PS 1956 ext/session/session.c PS(id) = NULL; PS 1959 ext/session/session.c PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC); PS 1960 ext/session/session.c if (PS(id)) { PS 1961 ext/session/session.c PS(send_cookie) = 1; PS 1965 ext/session/session.c PS(id) = STR_EMPTY_ALLOC(); PS 1983 ext/session/session.c RETVAL_STRING(PS(cache_limiter), 1); PS 2002 ext/session/session.c RETVAL_LONG(PS(cache_expire)); PS 2038 ext/session/session.c if (PS(session_status) == php_session_none) { PS 2057 ext/session/session.c if (PS(id) && !strlen(PS(id))) { PS 2064 ext/session/session.c if (PS(session_status) != php_session_active) { PS 2087 ext/session/session.c if (PS(session_status) == php_session_none) { PS 2094 ext/session/session.c SEPARATE_ZVAL_IF_NOT_REF(&PS(http_session_vars)); PS 2095 ext/session/session.c ht_sess_var = Z_ARRVAL_P(PS(http_session_vars)); PS 2119 ext/session/session.c RETURN_LONG(PS(session_status)); PS 2312 ext/session/session.c if (PS(mod) == NULL) { PS 2317 ext/session/session.c PS(mod) = _php_find_ps_module(value TSRMLS_CC); PS 2321 ext/session/session.c if (PS(serializer) == NULL) { PS 2326 ext/session/session.c PS(serializer) = _php_find_ps_serializer(value TSRMLS_CC); PS 2330 ext/session/session.c if (PS(mod) == NULL || PS(serializer) == NULL) { PS 2332 ext/session/session.c PS(session_status) = php_session_disabled; PS 2345 ext/session/session.c return php_rinit_session(PS(auto_start) TSRMLS_CC); PS 2360 ext/session/session.c if (PS(mod_user_names).names[i] != NULL) { PS 2361 ext/session/session.c zval_ptr_dtor(&PS(mod_user_names).names[i]); PS 2362 ext/session/session.c PS(mod_user_names).names[i] = NULL; PS 2397 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 2399 ext/session/session.c PS(session_status) = php_session_none; PS 2520 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 2533 ext/session/session.c if (PS(use_cookies)) { PS 2540 ext/session/session.c if (PS(use_only_cookies)) { PS 2551 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 2570 ext/session/session.c if (PS(rfc1867_min_freq) > 0.0) { PS 2578 ext/session/session.c progress->next_update_time = dtv + PS(rfc1867_min_freq); PS 2585 ext/session/session.c PS(session_status) = php_session_active; PS 2588 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 2596 ext/session/session.c PS(session_status) = php_session_active; PS 2598 ext/session/session.c zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), progress->key.c, progress->key.len+1); PS 2611 ext/session/session.c if (!PS(rfc1867_enabled)) { PS 2615 ext/session/session.c progress = PS(rfc1867_progress); PS 2622 ext/session/session.c progress->sname_len = strlen(PS(session_name)); PS 2623 ext/session/session.c PS(rfc1867_progress) = progress; PS 2644 ext/session/session.c if (name_len == progress->sname_len && memcmp(data->name, PS(session_name), name_len) == 0) { PS 2648 ext/session/session.c } else if (name_len == PS(rfc1867_name).len && memcmp(data->name, PS(rfc1867_name).c, name_len) == 0) { PS 2650 ext/session/session.c smart_str_appendl(&progress->key, PS(rfc1867_prefix).c, PS(rfc1867_prefix).len); PS 2654 ext/session/session.c progress->apply_trans_sid = PS(use_trans_sid); PS 2672 ext/session/session.c if (PS(rfc1867_freq) >= 0) { PS 2673 ext/session/session.c progress->update_step = PS(rfc1867_freq); PS 2674 ext/session/session.c } else if (PS(rfc1867_freq) < 0) { /* % of total size */ PS 2675 ext/session/session.c progress->update_step = progress->content_length * -PS(rfc1867_freq) / 100; PS 2696 ext/session/session.c PS(id) = estrndup(Z_STRVAL(progress->sid), Z_STRLEN(progress->sid)); PS 2697 ext/session/session.c PS(apply_trans_sid) = progress->apply_trans_sid; PS 2698 ext/session/session.c PS(send_cookie) = 0; PS 2759 ext/session/session.c if (PS(rfc1867_cleanup)) { PS 2776 ext/session/session.c PS(rfc1867_progress) = NULL; PS 1676 ext/soap/soap.c if (PS(session_status) != php_session_active && PS 1677 ext/soap/soap.c PS(session_status) != php_session_disabled) { PS 1682 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 1758 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) {