Neokernel Demos

C# Cookies Demo

This demonstration shows the use of cookies with a SessionManager.

In this demo we use a configuration file to start the server because we need to start SessionManager, SesssionReaper, FileObjectManager, and Scheduler in addition to our CookieDemo agent.

The session information is stored in the /bin/om directory; if the server is re-started, the sessions will be re-loaded and available until they are reaped by the SessionReaper.

Download Cookies.zip and uncompress it inside the demos\C# Projects\ folder.

Open Cookies.sln using Visual Studio.

Make sure the reference to the Neokernel.dll is correct (in case you installed Neokernel in a different directory) under "References", then press F6 to build the demo.

Double click on the file start_nk.bat to start Neokernel.

To view the demo page, open http://localhost/session.agent in your browser.

Updated: 7/12/10 7:43 PM