ZuZuPetals
asked on
ASP.Net: Session Object: Item has already been added. Key in dictionary: 'MyKey' Key being added: 'MyKey'
This is bizarre.
I've been doing ASP for over 10 years and I've never seen this before. The below line of code is failing. Why? I've re-assigned values to collection keys dozens of times. Why would this start complaining now?
The error message:
Item has already been added. Key in dictionary: 'MyKey' Key being added: 'MyKey'
I've been doing ASP for over 10 years and I've never seen this before. The below line of code is failing. Why? I've re-assigned values to collection keys dozens of times. Why would this start complaining now?
The error message:
Item has already been added. Key in dictionary: 'MyKey' Key being added: 'MyKey'
Session["MyKey"] = "some string"
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.