Database:Agents

From OpenSimulator

Revision as of 14:33, 21 July 2008 by Twitch (Talk | contribs)

Jump to: navigation, search

agents Records agent (Avatar/User) login details

The current structure of the agents table is as follows:


Field
TypeNullKeyDefaultExtra
 
UUIDvarchar(36)NOPRINULL 
sessionIDvarchar(36)NOUNINULL
secureSessionIDvarchar(36)NOUNINULL
agentIPvarchar(16)NONULL
agentPortint(11)NONULL
agentOnlinetinyint(4)NONULL
loginTimeint(11)NONULL
logoutTimeint(11)NONULL
currentRegionvarchar(36)NONULL
currentHandlebigint(20) unsignedNONULL
currentPosvarchar(64)NONULL



UUID
The UUID uniquely identifies the avatar associated with the user's account. This master ID 'number' is used for everything the avatar interacts with - it is used to determine permissions, identify belongings, and route messages to and from system and other avatars.

sessionID


secureSessionID agentIP agentPort agentOnLine loginTime logoutTime currentRegion currentHandle currentPos

Personal tools
General
About This Wiki