Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For example, Assume that I have 3 form

I want if application login one time at the installation time and no need to login again and again I open the application and also with sever login. The login and sever login are disable for the application when I open the application again and again.

1.In form one is a Front page

2.In 2nd user control is login

3.and 3rd sever login

What I have tried:

.......................................................
Posted
Updated 31-Aug-22 3:17am
v2
Comments
PIEBALDconsult 31-Aug-22 9:19am    
What kind of server? If SQL Server, aren't you using integrated security?

1 solution

So store the login info somewhere that your app can get at it, and read it back when you start up. If it's there and valid, great. If it isn't, log him in and store it.

See here: Where should I store my data?[^] for some ideas.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900