Hi. I have an application that I am working on where I am storying information passed from a form to a session veriable.
Session("books"
= Session("books"
& intRefNumber & ":" & strBookTitle & ":" & strBookSubject & ":" & strBookRecommend & "|"
When several items are added to the session the session looks like this
1:Book Name 1:Book Subject 1:no|1:Book Name 2:Book Subject 2:yes|
I then use the split(variable, "|"
into a 2d array.
I want to be able to delete items from the session without having to do it in the array and rebuild the session.
when using Session("books"
= removeItem(intReferenceNumber, Session("books"
I get a type mismatch error.
Am I doing something wrong or is this not allowed.
Thanks for any help!
Bob
Session("books"
When several items are added to the session the session looks like this
1:Book Name 1:Book Subject 1:no|1:Book Name 2:Book Subject 2:yes|
I then use the split(variable, "|"
I want to be able to delete items from the session without having to do it in the array and rebuild the session.
when using Session("books"
Am I doing something wrong or is this not allowed.
Thanks for any help!
Bob