{% extends "otree/BaseBuiltIn.html" %} {% block title %} Persistent Lab URLs {% endblock %} {% block content %}
Here is the persistent URL you can use in the lab. It will stay constant for new sessions, even if the database is recreated.
{{ open_session_example_url }}
You should take this link, copy it for as many participants are in your session,
and modify the {{ participant_label }}
parameter of each link.
You can use whatever naming scheme you would like to use, e.g. {{ participant_label }}=PC-1
, {{ participant_label }}=PC-2
, etc.
When a user visits one of these links, they are routed to whichever session you have set as the "open session" (see the "Global data" section of the admin dashboard). So, when one session is finished, you can create a new session, and set it to be the open session.
Note the parameter {{ access_code_for_open_session }}
. This is defined in your settings.py
.
You can change it as frequently as you'd like, to prevent unauthorized server access.