Paradox Community

Items in pnews.paradox-programming

Subject:Sessions
Date:Thu, 21 Sep 2023 13:17:34 -0700
From:Peter <peterspammenot@whiteknight.email>
Newsgroups:pnews.paradox-programming
Whenever adding passwords I have always used
var ses  session endvar
ses.open()
ses.addPassword()

I got that from some help example and now I am wondering why a session 
needs to be opened.

More thinking
I open a form and add necessary passwords to access tables

I run a method and add password(s), then when the method finishes I 
remove all passwords.

If I remover all passwords now the form is affected; true?

It would seem to me that if running a separate method requires its own 
passwords then that is when I should add a session so I do not affect 
other passwords already established.

Do I have this right?


Copyright © 2004 thedbcommunity.com