[Pdx-pm] Making web pages that display "working on your request"
Randal L. Schwartz
merlyn at stonehenge.com
Thu Aug 2 14:27:06 PDT 2007
>>>>> "Kevin" == Kevin Scaldeferri <kevin at scaldeferri.com> writes:
Kevin> Right. It looks like your code example leaves the session id in the
Kevin> URL. So, once the whole thing is complete, if someone copies the URL
Kevin> or bookmarks it, it includes that.
Yeah, and they SHOULD NOT bookmark that. It's a unique page in the universe
that means something only for a while. If they *do* bookmark it, they get
what they deserve.
Kevin> Then when they return later, after
Kevin> the cache expires, the program concludes "something is wrong" and
Kevin> displays the form to them, rather than rerunning the query.
Well, it's a small matter of programming to fix *that*. Haven't you
ever let a query sit too long in the middle of a session, and then come
back later to find "your session has timed out... please start over"?
Seems perfectly sensible to me.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
More information about the Pdx-pm-list
mailing list