Can anyone help with the school boy error please... I have declared a new object and then return stuff for the property from the function _Mgt_TrackCurrentSessionLo
Now, I know there isn't anything to return currently so I believe the object _Mgt_TrackSession should be undefined.
Can anyone see why it would trip up which creating the first property of my object?
_Mgt_TrackSession = new Object();
_Mgt_TrackSession = _Mgt_TrackCurrentSessionLocalStorageManagement("get");
if (typeof(_Mgt_TrackSession) === 'undefined')
_Mgt_TrackSession.A = intAppID;
_Mgt_TrackSession.U = intUserID;
_Mgt_TrackSession.P = ;
TypeError: 'undefined' is not an object (evaluating '_Mgt_TrackSession.A = intAppID')