Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Request obj returnin http always even in when the browser url is h

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Suba - 21 Mar 2008 20:13 GMT
Hi

I having a similar issue.

my website url has https://blahblahblah but when i do
Response.Write(Request.Url); it writes the url with http..........its really
strange........i dont have a clue why the url in my browser has https and
request.url has http...........

using the request object i am not able to get the scheme whether its http or
https............its always returning http whether or not the request is
secure........

Request.Issecureconnection is also always returning false.....................

I need the http scheme for consturcting an url which inturn has to go to a
pdf file which we post to many customers....................Any idea how to
get the http scheme

Thanks
Suba
Misbah Arefin - 21 Mar 2008 22:30 GMT
how is SSL configured for your site? is it configured in IIS or via some load
balancer or web accelerator?
if its configured on your load balancer / web acceslerator then all requests
to your webserver will be http even if the user request was https. the load
balancer / accelerator offloads the ssl/https operations from your web server

Signature

Misbah Arefin
https://mcp.support.microsoft.com/profile/MISBAH.AREFIN
http://www.linkedin.com/in/misbaharefin

> Hi
>
[quoted text clipped - 17 lines]
> Thanks
> Suba
Suba - 24 Mar 2008 15:02 GMT
Yeah we have a load balancer.....i think as u said the request between the
load balancer and the web server is not a secure request.........only the
request object sent between the client and load balancer is https
request........

But is there anyway to find out the scheme of the request between the client
and load balancer............is that data persisted anywhere in the request
between the load balancer and the web server...............

> how is SSL configured for your site? is it configured in IIS or via some load
> balancer or web accelerator?
[quoted text clipped - 23 lines]
> > Thanks
> > Suba
Misbah Arefin - 28 Mar 2008 20:39 GMT
> Yeah we have a load balancer.....i think as u said the request between the
> load balancer and the web server is not a secure request.........only the
[quoted text clipped - 4 lines]
> and load balancer............is that data persisted anywhere in the request
> between the load balancer and the web server...............

most load balancer / web accelerators allow for creating custom server
variables... you can create a server variable and set its value if the
request from client to load balancer is https... you can get this value in
your web app via the Request.ServerVariables collection

Signature

Misbah Arefin
https://mcp.support.microsoft.com/profile/MISBAH.AREFIN
http://www.linkedin.com/in/misbaharefin


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.