Re: survey persist - temporarily save data
Joel Palmius <[email protected]> Thu, 13 Sep 2007 08:42:00 +0200 (CEST)
| Newsgroups | gmane.comp.apache.mod-survey.general |
|---|---|
| Message-ID | <[email protected]> |
I actually had to test this, but it would seem survey persistance will not work in the current stable version (I get a malformed key error, I haven't checked more in detail why, most likely the beginner's doc is correct and it isn't implemented). If you want to change the cookie timeout, take a look at line 102 in Session.pm. Currently it is set to 60 minutes. A value like "+20d" might work for you, but I haven't tested it. // Joel On Thu, 13 Sep 2007, Clemens Gruber wrote: > Hi, > > a question about > <SURVEY PERSIST="yes" ... > > In the syntax reference guide, > http://modsurvey.org/text/mod_survey_syntax_reference.pdf, you can read on > page 6 > > "PERSIST (...) Whether to allow respondent to temporarily save answer in > order to return later for finishing the survey." > > But in the "for beginners" handbook, > http://modsurvey.org/text/mod_survey_for_beginners.pdf, on page 12 is > written > > "Persistance: Data persistence has been supported in earlier versions of > Mod_Survey but has not yet been ported to the latest version. Data > persistence is the respondent option of saving data temporarily in order > to return later to finish the survey." > > What is correct and can I use PERSIST in the current stable version? > > Alternative: Where can I change the expire time of the cookie? So I can do > the same without PERSIT by setting this value to 20 days or something like > that. > > Clemens > > > -- > Clemens Gruber (Dipl.-Psychologe) > Zentrum fuer Informationsmanagement und > virtuelle Lehre der Universitaet Osnabrueck (virtUOS) > > Schloss-Strasse 9, Raum 107, D-49074 Osnabrueck > > E-Mail: [email protected] > URL: http://www.virtuos.uni-osnabrueck.de > > Telefon: (05 41) 969-6505 oder > (05 41) 969-6501 (Sekretariat) > Fax: (05 41) 969-16505 > > > Skickat av "Clemens Gruber" <[email protected]> > till survey-discussion > Skickat av Joel Palmius <[email protected]> till survey-discussion