login with built-in popup window?

  • Thread starter Thread starter PJ6
  • Start date Start date
P

PJ6

I've seen web pages where logging in will pop up a stardardized dialgue
window, one that allows you to remember your password.

How does one invloke this in code?

Does it work reasonably well for different borwsers?

Paul
 
Can you give a little more information, maybe a url to a page we can visit so
we can see the dialog you're looking for ?
 
I've seen web pages where logging in will pop up a stardardized dialgue
window, one that allows you to remember your password.

How does one invloke this in code?

You can use the showModalDialog method of the window object, and store the
password as a cookie - that, of course, would be a really stupid thing to
do.
Does it work reasonably well for different borwsers?

showModalDialog really only works properly in IE, though it has been
implemented in the most recent version of FireFox, IIRC...
 
Assuming you want to do this with .NET... If the CheckBox control is
checked, then use the Cookies collection object to store the username
and pw in a cookie then, when the user returns to the page, check if
the user has a cookie stored. If so, retrieve it from the users system
and populate the textboxes. Not the more secure option, but effective.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top