G
Guest
I wonder what is happening if you subsequently use the session.add method
with the same key, but different values.
e.g. if I do;
session.add("MyVar", "a")
session.add("MyVar", "b")
then; session("MyVar").tostring will return "b"
Is the value you are adding ("b") simply replacing the olde value ("a")
If so, should the name of the method then not be something like session.set,
because you are not actually adding anything.
Can't find anything about this in the documentation. Some explaination is
appreciated.
with the same key, but different values.
e.g. if I do;
session.add("MyVar", "a")
session.add("MyVar", "b")
then; session("MyVar").tostring will return "b"
Is the value you are adding ("b") simply replacing the olde value ("a")
If so, should the name of the method then not be something like session.set,
because you are not actually adding anything.
Can't find anything about this in the documentation. Some explaination is
appreciated.