lidds Posted March 14, 2005 Posted March 14, 2005 I am new to vb.net and really need a bit of advice. I am in the process of writing an application in vb.net. I am storing relavent information in public variables as this is the only way that I have found to access the information between forms. I am holding things such as username, access writes, department but NOT password as this is not required again after login. But there are a few things I need answered. 1) Is there a better and more secure way of doing this?? 2) If I wanted the exe of the application to be loaded only onto a server will these public variables be overwritten by the latest person to login to the application?? Cheers Simon Quote
Administrators PlausiblyDamp Posted March 14, 2005 Administrators Posted March 14, 2005 (edited) Rather than using public (global?) variables you may want to look at this link. As a general rule multiple users / forms / connections can cause problems if they re using the same globals. Edited March 1, 2007 by PlausiblyDamp Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.