Real Estate Forums

Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here.

Reply
 
Thread Tools Display Modes
Old 05-17-2007, 12:45 PM
Rottmanj Rottmanj is offline
New real estate webmaster
 
Join Date: May 2007
Posts: 3
Rottmanj is on a distinguished road
Default Authentication headers.

I am working on writing a coldfusion based RETS system. I pretty much have everything figured out except for the authentication portion.

I am connecting to the rets server twice to facilitate authentication. The first time I connect I get a wanted 401 error. I use this error to create my full authentication string. This works as intended.

The issue I am having is when I use the created Authentication string to create my header which I post to RETS server. I know what the problem is, it is how I am formatting my header. I still have yet to find a black and white example of how this header should be created. Below are the headers that I am creating and passing. I have replaced private info with **'s

Any help with this is greatly appreciated.


Created Header:
Authorizationigest qop="auth", User-Agent="MRIS-test2/1.0",username="****",password="*****",nonce="5aeab 8af7e8e241f07ea0c3868584f12", opaque="17051842362549", uri="/rets/login" 400 Incorrect prefix YES

Passed Header + Error:
HTTP Status 400 - Incorrect prefix <Authorizationigest qop="auth", User-Agent="MRIS-test2/1.0",username="*****",password="******",nonce="5ae ab8af7e8e241f07ea0c3868584f12", opaque="17051842362549", uri="/rets/login">
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 10:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.