Setting custom cookie name

234 views
Skip to first unread message

Davin

unread,
Aug 16, 2011, 3:31:40 PM8/16/11
to play-fr...@googlegroups.com
Is there a way to change the default cookie names from PLAY_FLASH/PLAY_ERRORS/PLAY_SESSION to something else?  Hoping there's a configuration option I overlooked.

Also, what does the config property application.session.cookie=PLAY do?

Thanks!

Sebastien Cesbron

unread,
Aug 17, 2011, 1:46:50 AM8/17/11
to play-fr...@googlegroups.com
Hi

"application.session.cookie" let you define the prefix of all the cookies. This is the way to configure
cookie names.

The suffixes do not seem to be configurable. See play.mvc.Scope for more details

Regards
Seb

2011/8/16 Davin <davi...@gmail.com>
Is there a way to change the default cookie names from PLAY_FLASH/PLAY_ERRORS/PLAY_SESSION to something else?  Hoping there's a configuration option I overlooked.

Also, what does the config property application.session.cookie=PLAY do?

Thanks!

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/pb9ykBHpsS0J.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

Reply all
Reply to author
Forward
0 new messages