welcome L.S developers.
i m working on limesurvey stat plug-in , i want to continue L.S session on
my pages, but after searching many files, i m unable to do so,
help require from expert developers to connect with session.
From: Thibault Le Meur <Thibault.LeMeur@su...> - 2010-10-28 07:30:51
Le 28/10/2010 06:36, M Hakeem a écrit :
> welcome L.S developers.
> i m working on limesurvey stat plug-in , i want to continue L.S
> session on my pages, but after searching many files, i m unable to do so,
I'm sorry I don't understand your problem. Can you explain what's you're
trying to do exactly ?
Le 02/11/2010 13:42, M Hakeem a écrit :
>> i made page for my plug-in and i want to carry LS session on my
>> pages also , so when user click on "stat analysis"( icon i made
>> on meubar just like show stat icon) my pages open and be ensure
>> that script not run directly, i try to study how LS session work
>> but i cannot understand code fully, so need help in this case.
> Your feature must be implemented as a new "action" in admin.php.
> This means that accessing your module must be done using an URL
> like this one:
> "admin.php" takes care of starting the Session by including
> with your help i continue session in my page but it only works for one
> page when i submit form from my page it does not goes to required
> page, i will have many pages, so how i can include all these?
In order to "route" your successive requests to your page, you must
always POST to the admin.php script and set the action parameter to
"statplugin". If your plugin needs to be used for several different
"actions", you simply add the subaction parameter so that:
* admin.php routes your request with aciton=statplugin to your script
* your script route the subaction to the specific section in your script
Take a look at all the scripts in the limesurvey/admin directory for
For instance: "action=tokens" and subaction=updatetoken" or