summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-05-31 02:33:21 +0000
committerfoobar <sniper@php.net>2003-05-31 02:33:21 +0000
commited1378a975586d3c83f29ef236d37613c53cf5c4 (patch)
tree841890aa1411200b626dcc80861ba78deb0cdb8b /ext/session
parent935672787a263333b30232549ce44ba965901d38 (diff)
downloadphp-git-ed1378a975586d3c83f29ef236d37613c53cf5c4.tar.gz
MFB: Always send a new session cookie upon regenerating id
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 7bc6725f1e..8f09578ef8 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -1024,7 +1024,7 @@ static void php_session_reset_id(TSRMLS_D)
{
int module_number = PS(module_number);
- if (PS(send_cookie)) {
+ if (PS(use_cookies)) {
php_session_send_cookie(TSRMLS_C);
}