balaweblog
balaweblog

Reputation: 15470

How to write all the data in session to string[] also how to write the data in string [] to session

I using a ASP.net. I need to copy all the session data (both session variables and session request variables) to String []. How can i do this?

Also i need the reverse condition.

How can i do this using Serialization concepts

Upvotes: 1

Views: 323

Answers (1)

Burkhard
Burkhard

Reputation: 14738

Serialization and Deserialization should do the trick.

You can look here for a tutorial on serialization.

Upvotes: 2

Related Questions