<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I want to count every time a user 
logs-in.</FONT></DIV>
<DIV><FONT face=Arial size=2>I've a user map with the user profile in a DTML 
document. There are also 2 property's (Last login and logincount)</FONT></DIV>
<DIV><FONT face=Arial size=2>I've also a python script for these 2 
property's.</FONT></DIV>
<DIV><FONT face=Arial size=2>But how can I do this </FONT></DIV>
<DIV><FONT face=Arial size=2>Logincoun = logincount + 1</FONT></DIV>
<DIV><FONT face=Arial size=2>in the&nbsp;following python script:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>doc=getattr(context, soid)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2>doc.manage_changeProperties(logincount=logincount + 
1)&nbsp;&nbsp; ????????<BR></FONT><FONT face=Arial 
size=2>doc.manage_changeProperties(lastlogin=sodate)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Simple questing with (I think) a simple answer, but 
for me a great help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Martin Koekenberg</DIV></FONT></DIV></BODY></HTML>