Live Chat Icon For mobile
Live Chat Icon

How can the username and password been created from login control?

Platform: ASP.NET| Category: Config files

Drag and Drop the Login Control VS.NET toolbar under Login , change the form name to ‘Login.aspx’.

In the web.config file:

Add the codings given below

<authentication mode='Forms'>
	<forms loginUrl='Login.aspx' protection='All'>
		<credentials passwordFormat='Clear'>
			<user name='Admin' password='Admin'/>
			<user name='Super' password='Super'/>
			<user name='User' password='User'/>
		</credentials>
	</forms>
</authentication>

When the user name and corresponding password mentioned above are given , then the login operation will be completed successfully.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.