RE: using cfhttp

2010-04-07 Thread UXB Internet
We use a product called servers alive to monitor websites, servers, email, disk space, folders (ex cfmail rejected folder) and just about everything you can imagine. It outputs to a web page, does email and/or sms messaging notifications and is a jack of all trades for monitoring things. I can h

Re: using cfhttp

2010-04-07 Thread Al Musella, DPM
If you are checking for the site to be up, you may as well check that everything is working ok also.. What I do is use cfhttp to get my home page - but I add a special url parameter which tells my page to add an entire record from my user's database at the bottom of the page. (I use my own rec

RE: using cfhttp

2010-04-07 Thread Andy Matthews
http://aremysitesup.com/ Run by Chris Coyier of CSS-tricks.com andy -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Wednesday, April 07, 2010 8:25 AM To: cf-talk Subject: Re: using cfhttp Can you recommend any? On Wed, Apr 7, 2010 at 7:00 AM, Brian

Re: using cfhttp

2010-04-07 Thread Matthew Smith
---Original Message- > > From: Charlie Griefer [mailto:charlie.grie...@gmail.com] > > Sent: Tuesday, April 06, 2010 10:47 AM > > To: cf-talk > > Subject: Re: using cfhttp > > > > > > d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) > >

Re: using cfhttp

2010-04-07 Thread Brian Thornton
d"> > > It doesn't return the entire body of the site in the filecontent key. > > > andy > > -Original Message- > From: Charlie Griefer [mailto:charlie.grie...@gmail.com] > Sent: Tuesday, April 06, 2010 10:47 AM > To: cf-talk > Subject: Re: us

Re: using cfhttp

2010-04-07 Thread Al Musella, DPM
If you are checking for the site to be up, you may as well check that everything is working ok also.. What I do is use cfhttp to get my home page - but I add a special url parameter which tells my page to add an entire record from my user's database at the bottom of the page. (I use my own rec

Re: using cfhttp

2010-04-06 Thread Dave Watts
> Additionally you can make the request a little lighter by just making a HEAD > request instead of a get or post. > > http://www.andymatthews.net"; method="head"> > > It doesn't return the entire body of the site in the filecontent key. Well, this really depends on how the site was written, I th

RE: using cfhttp

2010-04-06 Thread Andy Matthews
Yep. I use that to ping a site with an AJAX call too. -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 11:35 AM To: cf-talk Subject: Re: using cfhttp On Tue, Apr 6, 2010 at 9:24 AM, Andy Matthews wrote: > > Additional

Re: using cfhttp

2010-04-06 Thread Charlie Griefer
On Tue, Apr 6, 2010 at 9:24 AM, Andy Matthews wrote: > > Additionally you can make the request a little lighter by just making a > HEAD > request instead of a get or post. > > http://www.andymatthews.net"; method="head"> > > It doesn't return the entire body of the site in the filecontent key. >

RE: using cfhttp

2010-04-06 Thread Andy Matthews
- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: cf-talk Subject: Re: using cfhttp d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman wrote: > > Using cfhttp will return a cfhttp.st

Re: using cfhttp

2010-04-06 Thread Charlie Griefer
d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman wrote: > > Using cfhttp will return a cfhttp.statusCode, which if is "200 OK" you know > the URL has resolved correct. > > > -- > /Kevin Pepperman > > "They who can give up essential libe

Re: using cfhttp

2010-04-06 Thread Kevin Pepperman
Using cfhttp will return a cfhttp.statusCode, which if is "200 OK" you know the URL has resolved correct. -- /Kevin Pepperman "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." - Benjamin Franklin

Re: using cfhttp

2010-04-06 Thread Charlie Griefer
On Tue, Apr 6, 2010 at 8:36 AM, Orlini, Robert wrote: > > Hello, > > Is there a way to use cfhttp to see if a site is down? Does it involve > using #HTMLCodeFormat(cfhttp.FileContent)# to see if a 403 error is > downloaded? > check the cfhttp.filestatus to see if it contains the string "200" -

Re: Using CFHTTP to access a website

2010-02-19 Thread Dave Watts
> > CFHTTP can access anything a browser on the same machine can access, > > ... except if the site checks if the IP address requested the form > before it receives the action request. > In this case, one should at least request the form page first. As mentioned previously, the form will have to

Re: Using CFHTTP to access a website

2010-02-19 Thread Dave Watts
> I see this site doesn't appear to use cookies (at least on this page) as > reported by the Web Developer Firefox add-on.  I put together a test > page but it's throwing an error from their site.  I faked a name for the > lastname/first initial combinations.  I looked through the url  string > bu

Re: Using CFHTTP to access a website

2010-02-19 Thread Claude Schnéegans
>>CFHTTP can access anything a browser on the same machine can access, ... except if the site checks if the IP address requested the form before it receives the action request. In this case, one should at least request the form page first. ~~

Re: Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Hi Dorioo, Interesting code. The big difference I see is that in this instance I don't need to log on. Will take a look at it and see if I can use it. Thanks! --Ben Dorioo wrote: > I've had good results using the project below. Maybe it can help you. > > http://www.bennadel.com/projects/cfh

Re: Using CFHTTP to access a website

2010-02-19 Thread Dorioo
I've had good results using the project below. Maybe it can help you. http://www.bennadel.com/projects/cfhttp-session.htm - Gabriel On Fri, Feb 19, 2010 at 5:49 PM, Ben Conner wrote: > > Hi Dave, > > I see this site doesn't appear to use cookies (at least on this page) as > reported by the Web

Re: Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Hi Dave, I see this site doesn't appear to use cookies (at least on this page) as reported by the Web Developer Firefox add-on. I put together a test page but it's throwing an error from their site. I faked a name for the lastname/first initial combinations. I looked through the url string

Re: Using CFHTTP to access a website

2010-02-19 Thread Dave Watts
> Thanks, Dave!  How does CFHTTP manage cookies? It doesn't. You have to do that yourself. You can read cookies set in an HTTP request using CFHTTP.responseHeader, then write them for subsequent responses using CFHTTPPARAM. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://traini

Re: Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Ah. Never mind the cookie response. Found a previous post explaining it. My apologies. --Ben Ben Conner wrote: > Hi, > > I have a list of names from a database I want to bounce off of a search > function on a website. I threw together a test of one name/initial > combination in a CFHTTP c

Re: Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Thanks, Dave! How does CFHTTP manage cookies? --Ben Dave Watts wrote: >> I have a list of names from a database I want to bounce off of a search >> function on a website. I threw together a test of one name/initial >> combination in a CFHTTP call and it threw an error. >> >> The page is locate

Re: Using CFHTTP to access a website

2010-02-19 Thread Dave Watts
> I have a list of names from a database I want to bounce off of a search > function on a website.  I threw together a test of one name/initial > combination in a CFHTTP call and it threw an error. > > The page is located at > http://www.azcorrections.gov/inmate_datasearch/Index_Minh.aspx.  If you

re: Using CFHTTP to grab a Google News RSS feed

2009-09-14 Thread Jason Fisher
That path works fine for me, output with Looks like the same content entries I get if I just point my browser directly to http://news.google.com/?q=hippos&output=rss Can your web server resolve the DNS for news.google.com? ~~~

RE: Using CFHTTP to login

2006-11-05 Thread Michael Nguyen
t and Sorry if it make some different ;) -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, 6 November 2006 2:06 AM To: CF-Talk Subject: Re: Using CFHTTP to login >>The same as I did with the login form in CF. We didn't have any cookie from ...

Re: Using CFHTTP to login

2006-11-05 Thread Claude Schneegans
>>The same as I did with the login form in CF. We didn't have any cookie from ...net yet when we go to login form in CF but still working well. Now wait a minute. The CF FORM works, but then the ACTION requested by CFHTTP doesn't right? But the CF form doesn't have the session cookie set by the

RE: Using CFHTTP to login

2006-11-05 Thread Michael Nguyen
from ..net yet when we go to login form in CF but still working well. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, 6 November 2006 1:19 AM To: CF-Talk Subject: Re: Using CFHTTP to login 1. Delete all cookies 2. Go to login form in .Net.

Re: Using CFHTTP to login

2006-11-05 Thread Claude Schneegans
1. Delete all cookies 2. Go to login form in .Net. 3. View cookie: There is a cookie ASP.NET_SessionId=4mnaix453yw12h55ox3myn45 Ah ah! This is their session Id. Now if they keep a session live, they may also have some data stored in it, and if that session is not found by the action template, th

RE: Using CFHTTP to login

2006-11-05 Thread Michael Nguyen
s it's public holidays now in Australia :( Anyway, I really appreciate your time and help so far -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Sunday, 5 November 2006 1:12 PM To: CF-Talk Subject: Re: Using CFHTTP to login >>2- Go to http://loc

Re: Using CFHTTP to login

2006-11-04 Thread Andrew Scott
You know in the amount if time it is taking to debug a your single sign in, and you haven't even touched the SP side of things yet. You would have been better of looking at ADS (Active Directory Services) or apaches equivalant. Or even look at a 3rd part solution where they deal in this all the t

Re: Using CFHTTP to login

2006-11-04 Thread Claude Schneegans
>>2- Go to http://localhost/SingleLogin/login.cfm (which is the login form) 3- View Cookies: There is a cookie has been written by CF with CFID, No, you must check with the original login form on the .NET application. The CF template you've made does not set any cookie (except the one set by CF)

RE: Using CFHTTP to login

2006-11-04 Thread Michael Nguyen
thing you think of? -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Sunday, 5 November 2006 3:04 AM To: CF-Talk Subject: Re: Using CFHTTP to login >>Yes, but you are doing it from your browser. Another try: When you call the login action from your CF

Re: Using CFHTTP to login

2006-11-04 Thread Claude Schneegans
>>Yes, but you are doing it from your browser. Another try: When you call the login action from your CF login form, the request is actually sent by your browser. Then, if may have some cookie in it set previously by the server, it will recognize it and the login is accepted. When calling from C

Re: Using CFHTTP to login

2006-11-04 Thread Claude Schneegans
>>The reason is the html form (login1.cfm) is working well and I try to simulate the login process exactly as we login as that html form. Yes, but you are doing it from your browser. If the login procedure uses tricks to detect if the form really comes from a browser, or from a server, they may

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
-- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:59 PM To: CF-Talk Subject: Re: Using CFHTTP to login >>Sorry if something is unclear. Well, it is getting complex indeed. If the login action has been especially designed to block any robot intrusion, you

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>Sorry if something is unclear. Well, it is getting complex indeed. If the login action has been especially designed to block any robot intrusion, you're not finished with your project. One thing I'd like to know: what is the feedback you are getting from the login when it fails? I mean from y

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Micahel, A question for you. You say you have been given the task of a single sign, yet they are 2 applications running .Net and CF. What about the .Net Application? Now are these machines, or Applications going to grow into more applications. Then the best solution would be to use Active Directo

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Hi all, One thing that I've noticed and think that it may be or may not be related to the problem: After normal successful logged in into asp.net using html form, the cookie has one more name-value: ..ASPXAUTH=9857AD003ACCC01 which we didn't have before logged in.

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
ROTECTED] Sent: Saturday, 4 November 2006 3:08 AM To: CF-Talk Subject: Re: Using CFHTTP to login >>The way I did is use cfhttpparam type="cookie" to send cookie information back to the asp.net but it doesn't seem to work. Yeah, but as I told you, unless the code you copied on your

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
equest I should pass cookie info (in every subsequent request) but it is my second step. My first step is to see asp member home page when using cfhttp. -Original Message- From: Jason Troy [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:56 AM To: CF-Talk Subject: Re: Using CF

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>The way I did is use cfhttpparam type="cookie" to send cookie information back to the asp.net but it doesn't seem to work. Yeah, but as I told you, unless the code you copied on your message is not correct, you should get the cookies from the form page, not the action page. -- __

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>I think there is perhaps a misunderstanding somewhere. Don't worry, the misunderstanding is far in the southern hemisphere, and must be asleep by now ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Plea

Re: Using CFHTTP to login

2006-11-03 Thread Jason Troy
Michael, I know you've received lots of suggestions already, but I want to backup a little bit and try to unerstand what you're trying to do. I've read the thread history and I think there is perhaps a misunderstanding somewhere. What I understand is that you have an aspx page that you can log

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
> The latter was my task In that case, you also need to get that authentication token to your client, in addition to fetching it from the .NET server via CFHTTP. Are the servers in the same domain? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
more information! > -Original Message- > From: Michael Nguyen [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 10:51 AM > To: CF-Talk > Subject: RE: Using CFHTTP to login > > >> Are you trying to let your CF app interact with the .NET > app, or ar

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
The way I did is use cfhttpparam type="cookie" to send cookie information back to the asp.net but it doesn't seem to work. -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 2:25 AM To: CF-Talk Subject: RE: Using CFHTTP to

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
>> Are you trying to let your CF app interact with the .NET app, or >> are you trying to log your user into .NET so that later, when that user >> visits the .NET app directly, that user is logged in? The latter was my task ~| In

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>or extract it (ick) from the js If he has CF_REExtract, this will be just a breeze! ;-) See CF_REextract -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/cust

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
Yep - you are right. In that case you would need to have some advanced knowledge of the landing page - or extract it (ick) from the js. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 9:21 AM To: CF-Talk Subject: Re: Using CFHTTP to

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>When I submit the form (that works) if cookie turned off then it show me exactly as when I cfhttp. Ah ah! Then you must supplie the cookies. At first sight, you're attempt looks correct, except that the cookie must be set by the form page, you are calling the action page in your first attemps,

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
lue="[EMAIL PROTECTED]"/> > value="luggage"/> > value="Login"/> > > > >-Original Message- >From: Claude Schneegans [mailto:[EMAIL PROTECTED] >Sent: Saturday, 4 November 2006 1:3

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
CF cookie scope and your code below would work. I'm going to bet that would work differently in different browsers though. -Mark -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 9:10 AM To: CF-Talk Subject: RE: Using CFHTTP to login Cl

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
> Any thoughts? Yes, this is basically what you need to do. Fetch the cookies sent when you visit the form, then send those to the action page. I didn't think to ask this earlier, but what are you trying to accomplish, exactly? Are you trying to let your CF app interact with the .NET app, or are

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>Yes, Mark. The login page directs me to a member home page and I did include redirect='yes'. Ok, this will work for a redirect in the response header, but what if it is a Javascript redirect (one among many ways to check if JS is enabled)? ColdFusion will not follow. --

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
more information! > -Original Message- > From: Michael Nguyen [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 10:10 AM > To: CF-Talk > Subject: RE: Using CFHTTP to login > > Claude, if I disable cookie then I couldn't login form the > login form th

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
solveurl="yes" port="80" redirect="yes" useragent="#cgi.HTTP_USER_AGENT#"> -Original Message----- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:34 AM To: CF-Talk Subject: Re: Using CFHTTP to logi

RE: Using CFHTTP to login

2006-11-03 Thread Dave Watts
> The html form that I wrote was NOT extract from login.aspx > Both html form and cfhttp is to submit to action page > login.aspx but the html does it successfully and the > cfhttp does not. Here's what you need to do. Run the form, and examine all of the information sent from the form to the a

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
riday, November 03, 2006 8:50 AM To: CF-Talk Subject: RE: Using CFHTTP to login Yes, Mark. The login page directs me to a member home page and I did include redirect='yes'. -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:15 A

RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
> Anyway if Claude was smart he wouold see that the login form > that works is > called login.aspx, and then submits to itself. But what > Claude didn't see > was the fact that the cfhttp was sending the field submit > button. Actually, Claude was smart enough to point out that the form might

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Yes, Mark. The login page directs me to a member home page and I did include redirect='yes'. -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 1:15 AM To: CF-Talk Subject: RE: Using CFHTTP to login Michael, Does the login

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>I think that Claude understands me right. OK, now that we are on the good tracks, let's see. Could it be the server checking for something in the user browser that you didn't think of? Javascript for instance. (My own login procedure on my systems work this way) Try your login form that works

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>he wouold see that the login form that works is called login.aspx, OK, can you just tell me where you see that? >>and then submits to itself. Supposing it is so, is it a problem? >>But what Claude didn't see was the fact that the cfhttp was sending the field submit button. So what? Is it

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
AM To: CF-Talk Subject: Re: Using CFHTTP to login Hi everyone again, Sorry for getting back to you late and for the not very clear question. I think that Claude understands me right. The login.aspx is NOT form page but action page. The html form that I wrote was NOT extract from login.aspx Both htm

Re: Using CFHTTP to login

2006-11-03 Thread Adrian
Time to expose my woeful ignorance of .net Will .net be rejecting any post that has not come from the same page? Perhaps using the viewstate to authenticate where the post has come from? I have some vague recollection of .net not allowing a form to post to a different action page? Probably a

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Hi everyone again, Sorry for getting back to you late and for the not very clear question. I think that Claude understands me right. The login.aspx is NOT form page but action page. The html form that I wrote was NOT extract from login.aspx Both html form and cfhttp is to submit to action page l

RE: Using CFHTTP to login

2006-11-03 Thread Rick Faircloth
Under the weather, huh? Sorry, chap... Got a code? (Get it? Hee, hee) Maybe too much code medicine... :o) Rick -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 8:55 AM To: CF-Talk Subject: Re: Using CFHTTP to login nope, not in the

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
>>>The form posts to the login.aspx page, >which tells me he is posting to the (same) form page, which is not >impossible to do. > >Indeed, but this does not even has to be the case here. >Michael never said that the sample code >for the form he gave was extract from the login.aspx page. > >As you

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
...overr... > > :o) > > Rick > > -Original Message- > From: Andrew Scott [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 8:26 AM > To: CF-Talk > Subject: Re: Using C

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>Claude, so you are telling me that if you see a cfhttp call in CF passing the submit button everything is normal. I never said that. >>the problem is as I said, he needs to look at what is being passed to the login script to log the user in. What I say now is that you need to look at his cod

RE: Using CFHTTP to login

2006-11-03 Thread Rick Faircloth
03, 2006 8:26 AM To: CF-Talk Subject: Re: Using CFHTTP to login Rick, Happy hour is well and past, *hic* ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by yo

RE: Using CFHTTP to login

2006-11-03 Thread Mark A Kruger
Michael, Are you able to resolve the url from the server (not your local machine but the server). -Mark -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 11:08 PM To: CF-Talk Subject: Using CFHTTP to login Hi everyone, I am still

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Andrew, I really don't think claude actually saw the post properlly. And if Claude really knew anything, I am using gmail, and when using a web browser I have now spell checker, and being a little under the weather my wits are good, but my fingers can't do the walking as well. Anyway if Claude wa

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Rick, Happy hour is well and past, *hic* Claude, so you are telling me that if you see a cfhttp call in CF passing the submit button everything is normal. Come on get a grip onb reality man. the problem is as I said, he needs to look at what is being passed to the login script to log the user in

RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
> >>Your Joking really tell me you are joking? > > If I really was, it would at least have spell it "you're", > not your, but > anyway... > So I'll return *your* question: what *you're* smoking? Come on, Claude! Re-read what you wrote... I think you and Andrew are at the same bar! Andy

RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
> -Original Message- > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 8:14 AM > To: CF-Talk > Subject: Re: Using CFHTTP to login > > >>The form posts to the login.aspx page, > which tells me he is posting to the

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>got to be "happy hour" LOL ;-)) Got to be happy hour for the whole day ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>Your Joking really tell me you are joking? If I really was, it would at least have spell it "you're", not your, but anyway... So I'll return *your* question: what *you're* smoking? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claud

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>The form posts to the login.aspx page, which tells me he is posting to the (same) form page, which is not impossible to do. Indeed, but this does not even has to be the case here. Michael never said that the sample code for the form he gave was extract from the login.aspx page. As you said, th

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>I have posted to the same page using cfhttp many and I repeat many times. If I suppose that you perfectly know by experience that an address like /login.aspx is ALWAYS the login form and not the action template in ANY DOT.NET application, then I will admit you are right. But until better

RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
> -Original Message- > From: Andrew Scott [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 7:33 AM > To: CF-Talk > Subject: Re: Using CFHTTP to login > > your joking right. > > The form page is called login.asp.. And the cfhttp call > is to

RE: Using CFHTTP to login

2006-11-03 Thread Rick Faircloth
2006 7:19 AM To: CF-Talk Subject: Re: Using CFHTTP to login Ben, is it correct. The dude as a username and a password and god forbid a submit button as well to a logn.asp page. It is not correct, he needs to be pointing to the page that the login.apspage sends that informartion too. Yep something

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
t; From: Andrew Scott [mailto:[EMAIL PROTECTED] > > Sent: Friday, November 03, 2006 7:02 AM > > To: CF-Talk > > Subject: Re: Using CFHTTP to login > > > > Claude I am in a funny mood, and your as stupid as Michael. > > > > > > If the chhttp as this guy

RE: Using CFHTTP to login

2006-11-03 Thread Andrew Tyrone
> -Original Message- > From: Andrew Scott [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 7:02 AM > To: CF-Talk > Subject: Re: Using CFHTTP to login > > Claude I am in a funny mood, and your as stupid as Michael. > > > If the chhttp as this g

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Your Joking really tell me you are joking? the dude posted the form in his orignal post. That confirms my suspicion, Bin Laden has infected the USA water suppy making them all idiots at the moment *LOL* No serious did you not see that in his original post? On 11/3/06, Claude Schneegans <

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
your joking right. The form page is called login.asp.. And the cfhttp call is to login.asp. You really aren't on top of the question. On 11/3/06, Claude Schneegans <[EMAIL PROTECTED]> wrote: > > >>If the chhttp as this guy is trying to connect to is login.asp, they > says > to me it is t

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>he needs to be pointing to the page that the login.asp page sends that informartion too. Well, I was assuming this is what he was doing. You mean login.asp actually contains the form? The actual address he is trying to log wouls help. -- ___ REUSE CODE! Us

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>If the chhttp as this guy is trying to connect to is login.asp, they says to me it is the login form I don't see your point. He is not "CFHTTPing the form". He is sending the form to the action template. What's your problem? -- ___ REUSE CODE! Use custom t

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>> -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusio

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>yes it can. CF can send cookie to a client, and store its value in a variable, but the question here is to emulate a client browser, then the CF application should send back the cookie value set by the other server somewhere in the HTTP headers with all consecutive requests, just like a brow

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Ben, is it correct. The dude as a username and a password and god forbid a submit button as well to a logn.asp page. It is not correct, he needs to be pointing to the page that the login.apspage sends that informartion too. Yep something is in the water this week. On 11/3/06, Ben Koshy <[EMAIL

Re: Using CFHTTP to login

2006-11-03 Thread Ben Koshy
Your approach is correct...however After you use the CFHTTP client to login then what? Its only the CFHTTP client that is logged in... not your local machine or "server". Dump your CFHTTP.FileContent... what do you see? I'm not sure if there's a way to maintain a login using the CFHTTP clien

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
And before one person jumps in. The guy made it very clear that he was connecting to the form, and to the untrained eye they will not see it. But if you are a guru then it is obvious as the answer is in is post. Regards, Andrew Scott Senior Coldfusion Programmer On 11/3/06, Andrew Scott <[EMAI

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Claude I am in a funny mood, and your as stupid as Michael. If the chhttp as this guy is trying to connerct to is login.asp, they says to me it is the login form:-) Gee some people are really stupid today... On 11/3/06, Andrew Scott <[EMAIL PROTECTED]> wrote: > > yes it can. > > > > On 11/3/

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
yes it can. On 11/3/06, Claude Schneegans <[EMAIL PROTECTED]> wrote: > > >>What you nned to do is connect to the > processing page that the form is connecting to, > > Well, as far as I can see, this is what he does. > > But what is the server he is trying to log to sends back a cookie to > keep

Re: Using CFHTTP to login

2006-11-03 Thread Claude Schneegans
>>What you nned to do is connect to the processing page that the form is connecting to, Well, as far as I can see, this is what he does. But what is the server he is trying to log to sends back a cookie to keep the session alive ? The CF template which sends the login request will not take care

Re: Using CFHTTP to login

2006-11-03 Thread Andrew Scott
Adrian, *LOL* *LOL* I think the dude knows that. Michael, your problem lies with the fact you are connecting to the form page. That is not what you need to do. What you nned to do is connect to the processing page that the form is connecting to, and using cfhttp the way you are pass the us

Re: Using CFHTTP to login

2006-11-03 Thread Adrian
CFHTTP is coldfusion. coldfusion runs on the server. your code will log the server in. Do you want to log the server in, or the client in? On 03/11/06, Michael Nguyen <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > > > I am still struggling with using cfhttp to log in into an ASP.NET app. > > >

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Andy Matthews
That's a good idea. Thanks for the suggestion Ian! -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 1:47 PM To: CF-Talk Subject: RE: using cfhttp to submit to a form processing page on another server I believe you are running agains

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Andy Matthews
Nashville, TN. Not that I care if they move here, but it really does fit a lot of their criteria. I figured what the heck. -Original Message- From: Aaron Roberson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 2:04 PM To: CF-Talk Subject: Re: using cfhttp to submit to a form

RE: using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Ian Skinner
You can also use to adjust the timeout. Ahh yes, that is what I meant, not the tag. I always get these confused. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run

  1   2   >