Login mechanism for web apps

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am writing a generic login mechanism for our web apps using ASP.NET / C#
(VS2005). Various web pages need to present a login dialogue for the user to
re-enter their application-level username & password every 20 minutes. The
dialogue would pop up, the user would enter their login details again and
they would return to where they were previously in the web app. This
dialogue would be displayed (if necessary) on page load. Ideally the login
dialogue will be a popup. Authentication will require access to a database.

Is there an easy way to implement this so that only minimal changes are
needed to web pages for them to use this mechanism? I want to avoid having
the same code in every web page that needs to use the mechanism. Is there
any way to share this code, possibly in a C# dll?


.



Relevant Pages

  • Re: putty question - port forwarding on a machine where I have no shell access
    ... you close it and bring up a small dialogue box and/or tray thing after ... > Presumably you open a full terminal rather than a login dialogue in the ... reauthenticate at all once you've started a session - so if you fire ... but people who stick to password authentication ...
    (comp.security.ssh)
  • Re: Help: SYS$ACM is driving me nuts!!
    ... >>> dialogue mode when you don't want it. ... I took out the context argument and now the ... >> But there should be no dialogue if there is nothing to discuss. ... > purposes but would still have proceeded to process the login (since ...
    (comp.os.vms)
  • Re: ftp server frustrating
    ... dialogue on- ... Re: ftp server frustrating: ... >421 Disconnecting you since you didn't login successfully within 15 seconds. ... 40 yrs navigating and computing in blue waters. ...
    (freebsd-questions)
  • Re: Login Prompt for Users - Help Please
    ... Matt wrote: ... Task she is prompted to login. ... of the dialogue box and add a Task. ... Another odd note is that I had her ...
    (microsoft.public.sharepoint.teamservices)
  • Re: Pen testing techniques
    ... login form, its far more difficult to secure an app's internals. ... tight on time, and there are no apparent vulnerabilities to target, be ... For web apps I prefer a web app vulnerability scanner ...
    (Pen-Test)