NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Multiple data sets
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multiple data sets (Read 3630 times)
John Fligg
Sr. Member
Posts: 361
Multiple data sets
«
on:
November 28, 2011, 03:07:18 AM »
Just been watching the original video and Bruce mentioned you can set the pathname in the Web Handler embed point.
2 questions:
1. Which embed point would you use
2. Are globals OK to use. Presumably so if each user has their own thread.
In my dct you have to provide a pathname so I was going to define the filename/oath as GLO:Filename
Then I would do this:
1. Use Seciwn to get the User login ID
2. Set GLO:Filename to the LoginID
3. Set the path to Data\GLO:Filename in the enbed point
That way when logging in they only access their own data.
Is this feasible and which embed point to use please?
John
Logged
Bruce
Global Moderator
Hero Member
Posts: 11275
Re: Multiple data sets
«
Reply #1 on:
November 28, 2011, 06:18:48 AM »
>> 1. Which embed point would you use
WebHandler procedure, ProcessLink method, before the parent call.
>> 2. Are globals OK to use.
Yes, as long as the variable is THREADed. (ie has the THREAD attribute on it).
cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Multiple data sets