1. Helge Tjelta
  2. Valentina Server
  3. 金, 1月 30 2015, 01:36 PM
  4.  メールで購読
When wanting to log in my system, I would like to log the IP the users logged on from...

From the PDF I can see this: VClientInfo.Address

But how to I use it.:
Dim info as CVlientInfo

logg(VClientinfo.Address) - and this should logg a string "123.123.123.123" i.e. ?
コメント
There are no comments made yet.
Helge Tjelta 承諾済みの回答
Thanks Ruslan, for Xojo it worked with:

Dim VServer as VServer = new VServer(app.mConnection)
msgBox VServer.DatabaseInfo(1).ClientInfo(1).Address
コメント
There are no comments made yet.
Ruslan Zasukhin 承諾済みの回答
Hi Helge,

I have added 2 lines of text into WIKI pages about VClientInfo and VDatabaseInfo class how you can obtain instances of these classes.

http://www.valentina-db.com/docs/dokuwiki/v5/doku.php?id=valentina:products:adk:api:vclientinfo_class:vclientinfo_class

The chain of calls is:

vsrv = new VServer( someConnection )

loop i = 1 to i <= vsrv.DatabaseCount
{
dbInfo = vsrv.DatabaseInfo( i )

loop2 j = 1 to j <= dbInfo.ClientCount
{
clinetInfo = dbInfo.ClientInfo( j )
}
}



But, I wonder, SQL commands do not return IP of connected clients?
コメント
There are no comments made yet.
  • ページ :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories