how to copy session

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how to copy session
e.g
dim m_ds as dataset = Session("d")
but when i change the m_ds, it also change the session
 
You have to make a deep copy. There is no automatic way of doing and it has
nothing to do with sessions, it just happens to be that what the session
holds is a reference to an object. No difference then if you had two
variables that pointed to the same object.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top