[Gambas-user] variable in WebForm not remember
Rolf-Werner Eilert
rwe-sse at ...3629...
Mon Jan 23 12:33:55 CET 2017
Am 21.01.2017 19:46, schrieb Benoît Minisini:
> Le 17/01/2017 à 08:26, Rolf-Werner Eilert a écrit :
>>
>> Where does the webform store the values until the next call? And can it
>> remember calls from different users?
>>
>> Regards
>> Rolf
>>
>
> This is exactly what is named a "session".
>
> A session in Gambas is a collection that is associated with an HTTP cookie.
>
> With gb.web.form, the session is automatically created for each user
> that connect to the application. It automatically remembers the
> variables associated with the webforms.
>
> It is up to you to implement a login/password check to identify the
> user, and modify your application according to its rights.
>
> Regards,
>
Ah, very interesting concept. So if I don't want a personal check, I can
rely on the webform to automagically serve different users. :)
Regards
Rolf
More information about the User
mailing list