Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Session Variables

Session Variables 2 years 11 months ago #98632

  • maxim75
  • maxim75's Avatar
Hello,
in my survey at the end I redirect user to custom php page, in which I would read some session data.
What are set session variables in LimeSurvey, in particular I need id of current user survey, that id I can find in column id of table lime_survey_XXXXX.

Thanx!
Max
The administrator has disabled public write access.

Session Variables 2 years 8 months ago #101955

  • emimarz
  • emimarz's Avatar
  • Offline
  • Junior Lime
  • Posts: 31
  • Thank you received: 5
  • Karma: 1
hi there,

I'm not an expert, but try put a cookie or pass on url as a parameter.

Kindest regards
Emiliano
The administrator has disabled public write access.

Session Variables 2 years 7 months ago #102148

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9290
  • Thank you received: 1325
  • Karma: 384
You can use {SURVEYID} and {SAVEDID} in end url.

Session var can be read too, but more difficult (already done in 1.92, but don't remnd for 2.0).

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.209 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form