Welcome, Guest
Username: Password: Remember me

TOPIC: Session Variables

Session Variables 1 year 2 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 10 months 3 weeks ago #101955

  • emimarz
  • emimarz's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 21
  • 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 10 months 3 weeks ago #102148

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.107 seconds
Donation Image