简体   繁体   中英

Implementation of Cookies in Play 2.0 Framework

Hope you are doing well,

I have a problem in implement cookies in play 2.0 framework. In my application, i gave search functionality. Now i am want to store recent search data in cookies but till now i unable to implement .

Please if any body implement cookies in play 2.0 then suggest me.

Thanks Anuj

Look at http://www.playframework.com/documentation/2.0/ScalaSessionFlash

You can use session to store your data with "withSession" instruction.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM