Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291721

Session contents lost during logout

$
0
0

A drupal_set_message() issued during the logout process is lost and never displayed.

What I did: Created an system_message_action and associated it with the user_logout trigger.

What I expected: A message displayed to the user after logout.

What happened instead: No message was displayed.

I imagine this is because the session is destroyed, and the messages are queued in the session. This is not the expected behavior, though.


Viewing all articles
Browse latest Browse all 291721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>