[cfaussie] Re: changed behavour: CF 6.1 to 7.0 - missing CGI (custom) variables - AAARRRGGGHHH!

2006-07-12 Thread Barry Beattie

> You could use the GetHttpRequestData()

thanx Joel, I forgot that. I'll see if the vars are somewhere (perhaps
not put in CGI scope with CF7)

> and just doing a cfdump will not necesarily show all the values
available in it.

very true, Darren. I'm specifically looking for those CGI variables,
not only a dump. things like

CGI.HTTP_MYORG_FULL_NAME
CGI.HTTP_MYORG_EMAIL_ADDR

etc.

remember, I can see these vars on the 6.1 server just fine.

> Have you tried avoiding IIS altogether?

Peter, not an option. the big player in this is the ISAPI filter that
does the AD lookup, lets not complicate the issue too much, eh -
stick with apples to compare with and not cumquats?

and as I said, ASP.NET (to show the values are there and the ISAPI
filter is doing it job) on both machines hasn't a problem (they're
v1.1 and 2.0 - no difference)

I haven't ruled out that there's some mischief with the ISAPI filter
that CF7 is balking at and CF6.1 tollerates but accessing the
variables in whatever platform is so straightforward I really doubt
that that's it.

thanx ppl. the mystery continues




On 7/12/06, Darren Tracey <[EMAIL PROTECTED]> wrote:
>
> What exactly is missing from the CGI scope?
> Don't forget that the CGI scope is handled differently than any other
> scope and just doing a cfdump will not necesarily show all the values
> available in it.
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: changed behavour: CF 6.1 to 7.0 - missing CGI (custom) variables - AAARRRGGGHHH!

2006-07-12 Thread Darren Tracey

What exactly is missing from the CGI scope?
Don't forget that the CGI scope is handled differently than any other
scope and just doing a cfdump will not necesarily show all the values
available in it.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: changed behavour: CF 6.1 to 7.0 - missing CGI (custom) variables - AAARRRGGGHHH!

2006-07-12 Thread Peter Tilbrook
Have you tried avoiding IIS altogether?Eg: install multi-server version (even on a port IIS does not listen to) and test the same code.I was a fool and upgraded to WinXP Pro just for IIS. Truth is the JRun integration is easier to setup than IIS.
Obviously this is not the case for every option but try CF/Jrun on a different port and test the code there.HTH!PTACTCFUG.COM

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "cfaussie" group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---


[cfaussie] Re: changed behavour: CF 6.1 to 7.0 - missing CGI (custom) variables - AAARRRGGGHHH!

2006-07-12 Thread Joel Cass

Hi,

You could use the GetHttpRequestData() method to get more information about
the request.. look it up in CFdocs

Unfortunately cgi variables are generated by the web server, not CF. So
whatever variables you get are contingent on the web server (ie. IIS) and
whatever it is allowing you to see. I only use CGI for detecting IP
addresses and user agents etc so cannot help in that department

Joel

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Barry Beattie
Sent: Wednesday, 12 July 2006 5:27 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] changed behavour: CF 6.1 to 7.0 - missing CGI
(custom) variables - AAARRRGGGHHH!



hi all

the biggest stumbling block in upgrading to CF7 is that some custom
CGI variables set by  IIS with an ISAPI filter go missing in CF7...but
are fine in CF6.1 (and ASP.NET)


the facts:
1) I'm testing away on 2 machines. both boxes have IIS (and exactly
the same ISAPI filter), one has CF6.1 and the other CF7.02. Exactly
the same (simple) test code for both versions

2) I'm comparing the variables between CF and ASP.NET. These specific
CGI vars are also listed in ASP.NET's "server variables" collection
and can also be accessed in ASP.NET's headers collection. for
ColdFusion they are CGI variables.

3) ASP.NET/CF6.1 box shows ISAPI vars fine. Other box shows ISAPI vars
for ASP.NET only (ie: they're missing with CF7)

4) it is the ISAPI filter that is setting the vars (a lookup to
AD/security/permissions) managed by IIS. ColdFusion and ASP.NET just
need the ability to read these variables.

5) while both machines are NOT identical, at least I'm comparing
granny smith apples to royal gala apples. AND the fact that ASP.NET
isn't having a problem in either.

6) it's like CF7.0 can't read these vars from the broswer, even if
asked by specific (CGI) name.

so...

either there is a bug that hasn't been picked up before where CF7 is
broken compared to CF6.1

or there is a problem with the ISAPI filter itself that CF6.1
tolerates but CF7 just ignores/no output.

either way, if I can't fix this problem, we can't upgrade to CF7

any thoughts?
anyone had this discrepency before (and fixed it)?
any suggestions to see what could be wrong?

thanx
barry.b

PS: is there any other way of reading more of the _raw_ data sent to
the server from the browser apart from the usual CGI/server/request
vars?






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---