954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

String to Memory

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...

Dragon840215
Newbie Poster
10 posts since Dec 2010
Reputation Points: 10
Solved Threads: 0
 

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.

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: