Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
7459a335
Commit
7459a335
authored
Nov 07, 2006
by
Neil Drumm
Browse files
#91046
by jvandyk. Fix handling of expired sessions.
parent
64162b74
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/session.inc
View file @
7459a335
...
...
@@ -41,7 +41,8 @@ function sess_read($key) {
}
// We didn't find the client's record (session has expired), or they are an anonymous user.
else
{
$user
=
drupal_anonymous_user
(
$user
->
session
);
$session
=
isset
(
$user
->
session
)
?
$user
->
session
:
''
;
$user
=
drupal_anonymous_user
(
$session
);
}
return
$user
->
session
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment