Hey guys

I need to store a single string into Memory for later use on different pages to be able to create a log file for my app.

so on my 1st form(Login Form) i need to pass the Username to Memory and then read it from the memory later on on different pages.

How do i do this ??

Sorry for the noob Q...

If you are working on web-app then use Session and in case if you are developing win-forms application then create public shared string field.

commented: Good Post +1
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.