Gossamer Forum
Home : General : Internet Technologies :

XML schema of a web session

Quote Reply
XML schema of a web session
The idea would be to store access log stats as sessions as the top element, instead of hits. Also, I guess it does not make sense to duplicate data in the schema, even if I need to refer to it often (for example, you might have <timestart> and <timeend> as children of <session> which is the <time> of the first and last <page>). Comments?

Code:
<session>
<user>
<ip></ip>
<siteid></siteid>
</user>
<hits>
<page>
<url></url>
<time></time>
</page>
</hits>
<referer></referer>
<browser>
<type></type>
<vers></vers>
</browser>
</session>

Last edited by:

oldmoney: Jun 6, 2002, 3:32 PM