Re: Handling a page with multiple areas

2007-03-21 Thread [EMAIL PROTECTED]
Matt, For 'temporary' state which does not need to live beyond an interactive session with a website, I prefer to use a custom cookie with an expiration of 12 hours or less. Many times if it is just a CSS mark of some sort, I will just use 100% javascript to get the job done, as it means I can

Re: Handling a page with multiple areas

2007-03-21 Thread MattW
Thanks. The problem is that I then have to record this for each person, and for each question if I can find a lightweight way of doing this (in terms of my LOC, as well as server activity) that would be better. I thought that perhaps a cookie, which got deleted at the end of the session

Re: Handling a page with multiple areas

2007-03-21 Thread akonsu
hello, unless i misunderstood the question, you need to maintain some state across multiple requests. if so, this is what the database is for. :-) make a model that has your "marked" flag. konstantin On Mar 21, 11:36 am, "MattW" <[EMAIL PROTECTED]> wrote: > Dear All, > > More of a design

Handling a page with multiple areas

2007-03-21 Thread MattW
Dear All, More of a design question than a technical query... I've got a page with multiple 'areas' - some static text, a wiki bit and a 'marking' bit (via a form). I'd like to be able to only allow people to enter a mark once, after which views of the page should say "Thanks for the feedback".