The reason why you are being shown the form instead of your expected results is because the "verification. Jsp" template expects you to have a valid session when you hit it to view the results. Does not maintain state on it's own, so a project like Ben Nadel's CFHttpSession.
Cfc might help. CFHttpSession will manage cookies (and thus session) inbetween calls by interpreting Set-Cookie header results and adding them back in on subsequent calls.
The reason why you are being shown the form instead of your expected results is because the "verification. Jsp" template expects you to have a valid session when you hit it to view the results. Does not maintain state on it's own, so a project like Ben Nadel's CFHttpSession.
Cfc might help. CFHttpSession will manage cookies (and thus session) inbetween calls by interpreting Set-Cookie header results and adding them back in on subsequent calls. One other thing that I noticed when looking at the server's response headers was that the session cookie (jsessionId) was being set to 'secure'.
This means that the cookie can only be used by secured connections. I don't have SSL set up in my test environment so my attempts in using Ben's object failed, but I would think that there is a good chance for it work if you can test under an SSL connection. Here is the simple test I did using Ben's project: #objResponse.
Filecontent# ** It might also be necessary to make a another http call prior to the others to establish the session before your post.
Thanks Jalpino. I tried it and it did the same thing, just returned the input form page, instead of the results page. – Rich Jun 11 '09 at 14:26 Sorry to hear that Rich...were you testing under SSL?
– jalpino Jun 11 '09 at 20:45.
It could be due to the https address. You will probably need to import the certificate into the java keystore to successfully connect. Try this post for the process to add the certificate: coldfusionmuse.com/index.cfm/2005/1/29/k....
Thanks I'll check that out – Rich Jun 5 '09 at 14:32 we tried it locally (at the remote site) and it still failed, so it's probably not the key. It's some kind of CFHTTP issue I think... – Rich Jun 6 '09 at 15:13 when you tried it locally, were you still using an https address? Because then it could well still be a certificate issue.
CFHTTP is picky about certs – Eli Jun 11 '09 at 15:10.
I'm guessing you're getting the input page because the server is redirecting you. Is there anything useful in cfhttp. Errordetail if you set redirect to "no"?
If I set redirect to "no", cfhttp. ErrorDetail is empty. If I set redirect to "no", the statuscode returns is 302 "Moved Temporarily".
The cfhttp. Location is testefile.boe.ca.gov/boewebservices/veri..._results. Jsp which if you go to directly it returns the input form.
I think coldfusion is not passing the form fields to the redirect page – Rich Jun 11 '09 at 15:01.
Yes, I've spoken with their developers, and in their logs they can see my post getting there. – Rich Jun 11 '09 at 14:41.
I was having the same issue, and added the CFID and Token to the request: and got my code to work.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.