CGI app - maintaining session info
From: Tom de Neef (tdeneef_at_qolor.nl)
Date: 11/27/04
- Next message: Tom: "Delphi & MS Active Scripting"
- Previous message: nospam_at_home.com: "Re: Spaces"
- Next in thread: Tom de Neef: "Re: CGI app - maintaining session info"
- Reply: Tom de Neef: "Re: CGI app - maintaining session info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Nov 2004 12:02:21 +0100
I have managed to build a first CGI application, using web broker. It is
managed by IIS.
Starting with the intro's at www.maltus.com I got to a working prototype in
a few days. Very impressive Delphi functionality!
The app is for use in schools (conjugation of verbs in Dutch). And it keeps
a score. This leads to an interesting problem. If the user picks a wrong
answer, he can just step back using the browser back-button and re-enter.
That implies that keeping the score via query fields will not work. So, I
decided to maintain state information on the server. The content of the
information record is trivial: just a string. But writing it somewhere is a
problem. For starters I wanted to just write a file with a name derived from
the remote host/IP address. There is then little chance of conflict. But
under IIS the app appears not to be allowed to write anywhere. Not in the
wwwroot tree; neither on C:\. A sensible security precaution.
Will I have to install a database or are there other suggestions to cope
with this?
Your help will be appreciated.
Tom
- Next message: Tom: "Delphi & MS Active Scripting"
- Previous message: nospam_at_home.com: "Re: Spaces"
- Next in thread: Tom de Neef: "Re: CGI app - maintaining session info"
- Reply: Tom de Neef: "Re: CGI app - maintaining session info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]