ip_address column in general_comments

Philip Greenspun's Homepage : Philip Greenspun's Homepage Discussion Forums : 6916 : One Thread
Notify me of new responses
I don't understand why we need to have ip_address column in
general_comments table. And how do I get the machine's ip_address?

-- Shan Shan Huang, March 3, 2000

Answers

The IP address is a part of the audit trail of a row. It allows us to know from what IP address this row was last changed. In combination with user_id and creation_date(modification_date), you can tell more information about the history of the data.

You can get the IP address with this call: [ns_conn peeraddr]

-- Jesse Koontz, March 4, 2000