Re: Porting a prolog game to the Web App Platform - some questions...

Anne Ogborn <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
You should have a term asserted in the session data.

Each time you want to add to output, append to this term's  contents.

Then write out the entire term.

If you don't find the term when you go to prepend, you have a new game, and should 
just set to the first line.

You also need to think about state in the program. Where does it store the 'board'?
That too goes in session data. 
Don't forget, many people can be using your nanny game website at once.

The framework's fine with frames and iframes, but I'm not sure how they'd help you here.
You need sessions.

I'm also curious as to how to properly capture POST variables and inject
them into the running program.

This is covered in my tutorial

Annie
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.