This topic is locked

Record created by and Record edited by

3/10/2005 5:37:46 PM
ASPRunnerPro General questions
M
mskichu author

hello,
Iam using ASPRunner 3.0
I have got user table in which I have userid (autonumber)
I have created login section for employee which is straight forward.
now I have two fields in one of the tables
"recoredcreatedby" and "recordeditedby"
is there any way I can store record created by and edited by automatically
I am little bit clear that it has to be delted with sessions but Iam not sure
where and how to put the asp code for it <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1214&image=1&table=forumtopics' class='bbc_emoticon' alt=':unsure:' />
thanks in advance
I luv ASP Runner

Sergey Kornilov admin 3/11/2005

You can set Default value for those fields to Session("UserID") or to Request.ServerVariables("LOGON_USER").