Re: checking for secure connection and rediecting
From: Robert Long (rob_at_saikosounds.com)
Date: 02/23/04
- Next message: .NET Follower: "Re: cookieless session? Who has it working?"
- Previous message: .NET Follower: "Re: asp.net machine A......"
- In reply to: Marshal Antony: "Re: checking for secure connection and rediecting"
- Next in thread: Marshal Antony: "Re: checking for secure connection and rediecting"
- Reply: Marshal Antony: "Re: checking for secure connection and rediecting"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 22 Feb 2004 20:38:40 -0800
Hi Marshal
Thanks for your reply. To clarify, in my code I have this:
void Page_Load(Object Sender, EventArgs e)
{
if ( Request.IsSecureConnection )
{
// do stuff
// never gets here
}
else if ( Request.ServerVariables["HTTPS"].ToLower() == "on" )
{
// do stuff
// gets here OK ! !
}
}
So in the same Page_Load fucntion how can Request.IsSecureConnection be
false, yet Request.ServerVariables["HTTPS"].ToLower() be "on"
? ? ? ?
Thanks again
Rob
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: .NET Follower: "Re: cookieless session? Who has it working?"
- Previous message: .NET Follower: "Re: asp.net machine A......"
- In reply to: Marshal Antony: "Re: checking for secure connection and rediecting"
- Next in thread: Marshal Antony: "Re: checking for secure connection and rediecting"
- Reply: Marshal Antony: "Re: checking for secure connection and rediecting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|