NAME
Web::Session::Store::File - Store sessions in files, as UTF-8
DESCRIPTION
Same as Apache::Session::Store::File, but the serialized session is always written as UTF-8 bytes. The parent class prints the string as it is, which stores Latin-1 bytes when every character of the session fits in a byte: a reader can't tell those bytes from UTF-8 ones, so a session holding "\x{c3}\x{a9}" comes back as "\x{e9}".
Sessions written by an older version are still read, as long as their bytes are not valid UTF-8: Latin-1 data already written as UTF-8 can't be told apart.
SEE ALSO
Apache::Session::Store::File, Web::Session::File
COPYRIGHT AND LICENSE
- 2009-2026 by Xavier Guimard
- 2013-2026 by Clément Oudot
- 2019-2026 by Maxime Besson
- 2013-2026 by Worteks
- 2023-2026 by Linagora
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.