Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8549819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:48:29+00:00 2026-06-11T13:48:29+00:00

I wish to use forms authentication in an asp.net website, but without a specific

  • 0

I wish to use forms authentication in an asp.net website, but without a specific login page.
Instead, I’d like to let my users login via a DIV section on the upper right corner of the screen. Moreover, I would like that this DIV section will use SSL.

My suggestion to the implemention is:
1. creating a login.aspx page that contains only the div element with a Form tag.
2. on every page in the site (possibly even in one master page), create an IFrame that contains the login.aspx page.
3. if the user performs a login – display “Hi username” in the login.aspx page. Otherwise, display a login credentials textbox.

This suggestion uses a specific login.aspx page, but it is disguised by the IFrame and the Master page. I think this suggestion is creative and I can’t think of a reason why it wouldn’t work. Before I’ll try it, is this the way to go? Can someone suggest another solution?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:48:30+00:00Added an answer on June 11, 2026 at 1:48 pm

    This is a complex solution to a problem that doesn’t exist.

    All you need to do is use the Login server control, and edit the template to fit whatever you want. Place this in the Master Page, and hook it up. For added benefit, you can write some code to detect if the user is logged in, and if so hide the login control and display the users name.

    Alternatively, you could put the login control in a user control that would encapsulate this functionality.

    Another alternative is to write your own Login control that does this (it’s not difficult).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET MVC project in C# using Forms Authentication and Active Directory
I'd like to use a contact form for a website I'm creating, but PHP
We're using forms authentication (IIS 7 and ASP.Net 3.5) on our domain, www.ourbusiness.com and
I wish to use the Translator classes of Zend framework in my app, but
I wish to use common CRC logic in a VB.NET or C# application as
I wish to use JSON.Net on a brand spankin new Mono class library (say
I have two stored procedures I wish to use in my stored procedure, but
I have a System.Windows.Forms.RichTextBox that I wish to use to display some instructions to
I wish to use the Validating event on a label in VB.Net (Visual Studio
I wish to use the method with the following signature: exec(String command, String[] envp,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.