NetTalk Central

Author Topic: use same table with {prop:name} over different sessions  (Read 2378 times)

kristofv

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
use same table with {prop:name} over different sessions
« on: July 13, 2012, 10:18:08 AM »
Dear,

We are using {prop:name} over different sessions on one Webserver.
If the second user wants to open his tps the first one is loosing his file.
The file is once declared in the app.

Can we use the same file-structure in different sessions with the same declaration?
How can we open it per session as different users will open it with their own prop:name ?

Kind regards,
Kristof Vanderhaeghen
Jumbo Computers nv, Belgium

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: use same table with {prop:name} over different sessions
« Reply #1 on: July 15, 2012, 09:52:30 PM »
Hi Kristof,

What you are trying to do is possible - indeed we do it quite a bit here. There are of course "right" and "wrong" ways to do it.

a) personally I've not used the Prop:name approach, I tend to use a variable for the name, but I think prop:name should work.

b) make sure the file is "Threaded" (set in dict) and if you are using a variable name that it is Threaded as well.

c) make sure you're setting it in the right place - WebHandler procedure - ProcessLink method, before parent call.

d) make sure you're setting it to the right name.

what I'd do, after checking (b) above, is to add a _trace statement to the processlink method, after your code, so you can see what you're setting the name value to.

cheers
Bruce