C
Christopher D. Wiederspan
I've got a simple problem. Currently, I have a .Config setting called
SupportsSSL that I use within an ASP.NET web application to determine
whether I redirect to an HTTP or HTTPS connection (for instance, when the
user visits the Login page). I'm wondering if there is a programatic way to
determine this instead of keeping track of different Machine.Config settings
on different machines...?
What I'm really striving for is that for our Production web servers, we've
got the SSL certificates setup, and on our development servcers, we don't.
Therefore I need to redirect slightly differently on the two different farms
in order to avoid "Cannot Find Server" errors when trying to hit an HTTPS
url on an development machine.
Any ideas would be appreciated.
Thanks,
Chris
SupportsSSL that I use within an ASP.NET web application to determine
whether I redirect to an HTTP or HTTPS connection (for instance, when the
user visits the Login page). I'm wondering if there is a programatic way to
determine this instead of keeping track of different Machine.Config settings
on different machines...?
What I'm really striving for is that for our Production web servers, we've
got the SSL certificates setup, and on our development servcers, we don't.
Therefore I need to redirect slightly differently on the two different farms
in order to avoid "Cannot Find Server" errors when trying to hit an HTTPS
url on an development machine.
Any ideas would be appreciated.
Thanks,
Chris