NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on December 06, 2011, 03:11:34 AM

Title: Multiple data sets clarification
Post by: John Fligg on December 06, 2011, 03:11:34 AM
I am getting a little nervous handling mutiple data sets and session numbers. I just want to make sure the right user accesses the right data set!

In the WebHandler I set the pathname as:

Glo:DataPathContact = 'Data\' & p_web.GSV('Login_ID') & '\Contact.tps' where the Filename in the dct is !GLO:DataPathContact

On the Login Form LOC:Login is the actual folder name containing their unique data set. SO ...

In Complete Form End I have:

        p_web.SSV('Name',LOC:Login)

In ValidateUpdate I have:

       p_web.ValidateLogin()
       p_web.SetSessionValue('hash',0)
       p_web.SetSessionValue('login_id',LOC:Login)

Is this correct? Just getting a bit paranoid. Testing seemed to show it working OK.

John
Title: Re: Multiple data sets clarification
Post by: Bruce on December 06, 2011, 03:22:48 AM
looks ok.