NetTalk Central

Author Topic: Multiple data sets clarification  (Read 2505 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Multiple data sets clarification
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Multiple data sets clarification
« Reply #1 on: December 06, 2011, 03:22:48 AM »
looks ok.