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

TOPIC: Session Variables

Session Variables 3 years 4 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 3 years 1 week 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 3 years 1 week ago #102148

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9596
  • Thank you received: 1376
  • Karma: 390
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 development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
Time to create page: 0.239 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form