HMGSCRIPT R39
Posted: Sat Dec 20, 2014 2:34 am
What's New in R39
Security:
- Now, at login, a session-id is created and stored in user's record, along with login date
and time.
- The session id assigned to the user is returned to client app. (in web browser) and
stored in a public JavaScript variable for further use.
- The session-id, will be sent on each new server request (query, append, modify, delete)
to check valid access.
- A global #define in hmgscript.ch (server-side Harbour code) holds the session timeout
(for our demo is 300 seconds). This timeout value, will be checked on every server
request, along a valid session-id. A session countdown is shown in client after login.
- A field for 'user-level' has been added to users table. In our example, user 'admin'
has level 1 (he can do everything). User 'guest' has level 0 (he only will be able to
execute 'query' server procedure). Of course, you can change this according your needs.
Others:
- New parameter 'cOnChange' for combobox. It alloes to define a function to be executed
when selected option changes.
Download: https://sourceforge.net/projects/hmgscript/
Security:
- Now, at login, a session-id is created and stored in user's record, along with login date
and time.
- The session id assigned to the user is returned to client app. (in web browser) and
stored in a public JavaScript variable for further use.
- The session-id, will be sent on each new server request (query, append, modify, delete)
to check valid access.
- A global #define in hmgscript.ch (server-side Harbour code) holds the session timeout
(for our demo is 300 seconds). This timeout value, will be checked on every server
request, along a valid session-id. A session countdown is shown in client after login.
- A field for 'user-level' has been added to users table. In our example, user 'admin'
has level 1 (he can do everything). User 'guest' has level 0 (he only will be able to
execute 'query' server procedure). Of course, you can change this according your needs.
Others:
- New parameter 'cOnChange' for combobox. It alloes to define a function to be executed
when selected option changes.
Download: https://sourceforge.net/projects/hmgscript/