any idea creating a log in page without drag and drop?

Dani AI

Generated

Good start — pointed you in the right direction and confirmed it helped. Below are practical next steps and safety notes to turn a handcrafted login into a reliable solution without Toolbox controls.

  • Build a simple form that posts to a server endpoint and perform all checks server-side (never trust client input).
  • Look up the account by identifier and compare using a strong, stored password hash (use a well-tested hashing scheme rather than plain text).
  • If credentials are valid, establish an authenticated session via the framework or an auth library and send the user back to the intended page; otherwise return a generic error.
  • Keep validation, authentication logic, and data access separate so you can swap in a membership/identity library later.

Security and maintainability essentials: always use HTTPS, protect against SQL injection with parameterized queries, add rate limiting/account lockout to prevent brute force, set cookies with HttpOnly and Secure flags, and validate any return/redirect URL to avoid open-redirects. For modern guidance and libraries, consider using ASP.NET Identity for session management and role handling Introduction to ASP.NET Identity. For secure password/storage and general auth best practices see the OWASP authentication cheat sheet Authentication Cheat Sheet.

Recommended Answers

All 2 Replies

create a customized login form
and in code behind you can validate user on login button click
event if true then FormsAuthentication.RedirectFromLoginPage
else stick to login page..!

thx, it helps....

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.