PDA

View Full Version : How to Use Cookies to Recover State


dcklee
10-20-2004, 10:07 AM
I was reading about Cookies and Sessions in Chapter 33 of VII. Server Integration in the Developer Guide. However, the section #6 about "Using cookies to recover state" was empty. I would like to know how to do it.

pablo
10-28-2004, 09:22 AM
Easiest way to save your session is by using <sessionrpc>. See examples/sessionwindow.lzx for details.

To save session information using cookies and datasets, you'll need a JSP (or servlet) that you can call from your application. Whenever your app inits, use an http dataset to fetch cookie information from your JSP which you can apply.

Good luck,
pablo