isSecure() gives me the incorrect answer also (see original
message).

Thanks.


Vijay Menon wrote:
> 
> servletRequest has another method
> 
> boolean isSecure
> 
> if true, possibly https
> 
> Vijay
> 
> ----- Original Message -----
> From: "Jeff Ramin" <[EMAIL PROTECTED]>
> To: "JRun-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 01, 2001 5:29 AM
> Subject: request.getProtocol() bug?
> 
> >
> > I'm using IBM's version of Apache 1.3.6 and JRun 3.0
> > on Redhat 6.2.
> >
> > In a servlet, I need to determine what protocol was used
> > for the request.  All of these methods:
> >
> > getHeader("server_protocol")
> > getProtocol()
> > getScheme()
> > isSecure()
> >
> > indicate that http is being used, even when the request
> > is being sent via https.
> >
> > I figure this is either a bug in JRun, or Apache is handing
> > the request to JRun as http, even if it received the request
> > as https.
> >
> > Anybody seen this, or know how to remedy it?  Thanks.
> >
> >
> > --
> > Jeffrey Ramin
> > Berbee
> > 5520 Research Park Drive   Madison, WI 53711
> > [EMAIL PROTECTED]
> > 608.298.1024
> >
> > Berbee...putting the E in business
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to