Form Authentication Problem in ASP.NET

M

MB

Hi guys,

I've been experiencing a problem here with forms authentication.
When I am on one of my wesite's http (non-secure pages) everything works
fine. However, I am using a Shared SSL provided by my hosting company.
However, when I am automaticatically redirected to my login.aspx page (due
to absence of authentication token) it's redirected to an https page. Please
note that my original page was for example:
www.mywebsite.com/orderInfo.aspx. However, I am redirected to
www.secure.mywebsite.com/login.aspx.

Well .. after a user is authenticated (in the login.aspx secure page) .. I
use FormsAuthentication.RedirectFromLoginPage() ..) method. here is where
the problem lies: Instead of being redirected to the original page
www.mywebsite.com/orderInfo.aspx, it is automatically redirected to the
correct webpage name but within the secure SSL area:
www.secure.mywebsite.com/orderInfo.aspx

has anybody already gone this same problem ?
Any insights ?


Thx a lot guys and have a great week end,

Marc B.
Toronto - Canada
 

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

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top