Welcome Guest, Not a member yet? Register   Sign In
Session in IE 7 being stored in DB as Mozilla
#7

[eluser]WanWizard[/eluser]
I that case I'm not so sure. Since the docs state (as per your post in the other thread) that the field should be defined as VARCHAR(120), that check would then actually work.

But I find it a rediculous solution. The field should be large enough to store the entire UA string, so the entire string could be checked for a match, and no tricks are needed.

Besides that, I know MySQL truncates the value when the field isn't big enough, but I'm not so sure about other RDBMS's.


Messages In This Thread
Session in IE 7 being stored in DB as Mozilla - by El Forum - 06-08-2011, 02:04 PM
Session in IE 7 being stored in DB as Mozilla - by El Forum - 06-08-2011, 02:17 PM
Session in IE 7 being stored in DB as Mozilla - by El Forum - 06-08-2011, 02:32 PM
Session in IE 7 being stored in DB as Mozilla - by El Forum - 06-08-2011, 02:44 PM
Session in IE 7 being stored in DB as Mozilla - by El Forum - 06-08-2011, 04:23 PM
Session in IE 7 being stored in DB as Mozilla - by El Forum - 06-08-2011, 11:34 PM
Session in IE 7 being stored in DB as Mozilla - by El Forum - 06-09-2011, 01:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB