Forms Authentification

S

SalamElias

Hi, I have an asp .net site which uses Forms authentification. In the
Web.config
--------------------------
<forms name="CommerceAuth"
loginUrl="https://www.mysite.com/golden/login.aspx" protection="All" path="/"
/>
-----------------------------------------
When I click on any protected page, I am redirected to the login page, after
entering login and password I am redirected to the right page but with HTTPS
not HTTP.
In the code behind I have
-------------------------------------
FormsAuthentication.RedirectFromLoginPage(customerId, RememberLogin.Checked)
----------------------------------

Can you please indicate an article or a doc regarding a snippet of code to
rediredt to the right URL byt in HTTP.
I tried Response.Redirect (strpatth) it didn't work
Thanks in advance
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top