简体   繁体   中英

how to delete cookies on app engine app in Java

How to delete cookies on app engine app using GWT in Java every time user close the browser of the app? So that it won't remember the previous user when the user open the app again in his browser.

Thanks.

If you use an App Engine session for authentication, you simply need to kill it:

session.invalidate();

If you store a cookie on the client, your app needs to take care of it - there is nothing special about App Engine here:

javascript - delete cookie

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