Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: <forms loginUrl="https:// pb

Thread Tools

Re: <forms loginUrl="https:// pb

Juan T. Llibre
Posts: n/a

!> <form loginUrl=" ..../>

Is that a typo ?

That should be <forms loginUrl=

Other than that, here's a pretty good tutorial which can server as a model for you:

Also, there are those who say that making your login page https is not good practice.
Your login page should be http and your *other* pages should be https.

Check out these two discussions :

....and this article with sample code:

Juan T. Llibre, MVP
¿ Estas probando VS 2010 y ASP.NET 4.0 ?
Regístrate (gratis) en los Foros de VS 2010 y ASP.NET 4.0, en español
================================================== ===
"ADNT" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Hello,
> I have a problem with Forms authentication and the default login page set in web.config
> I want to use an https secured page for it so I put in web.config authentication section
> <form loginUrl=" ..../>
> my web site supports ssl with a certficate and I am able to access directly from any browser the page
> but when it is triggered by, when a non authenticated session try to access a path which need authenticated
> users, it always generate the non secured url
> why ?
> I should get the https version as written in web.config ?
> Any help welcome.
> CS

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off