As designed Session activity tables makes it hard to log custom params due to the column datatype

TickTackk

Well-known member
Affected version
2.1.8
Column params in table xf_session_activity has data type of VARBINARY(100) which makes it really hard to log custom parameters (such as user agent or cookie value) when the entire params column value is longer than 100 characters.
 
At this point I don't think we'd really consider this to be a bug. Clearly for our usage the field is long enough but your use case is very different so it may require you to implement a different solution if that's what you'd like to track.

We could consider changing the field length but that would clearly be a suggestion and not a bug.
 
Worth mentioning that as a memory table, row size is fixed. If what you want doesn't fit, you may need to consider a different solution.
 
Back
Top Bottom