heyheyron
Member
Hello!
I am currently trying to log the web user in crimson 3.1.
That way I can see what customers logged into the HMI and when they did it.
The security logger seems to keep track off operators and etc, but not those
who log into the web server.
Has anyone tried to do this or something similar?
In crimson 3.0 they have recommend code to do this but I can't get it return
anything.
Current Code:
//WebUsers is a string array tag.
int index = 0;
cstring User := GetWebUser(index);
While(User != "")
{
WebUsers[index] := User;
index++;
User := GetWebUser(index);
}
I am currently trying to log the web user in crimson 3.1.
That way I can see what customers logged into the HMI and when they did it.
The security logger seems to keep track off operators and etc, but not those
who log into the web server.
Has anyone tried to do this or something similar?
In crimson 3.0 they have recommend code to do this but I can't get it return
anything.
Current Code:
//WebUsers is a string array tag.
int index = 0;
cstring User := GetWebUser(index);
While(User != "")
{
WebUsers[index] := User;
index++;
User := GetWebUser(index);
}