NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg 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
-
>> 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