REMOTE_USER http variable missing Web connection ISAPI/CGI

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

REMOTE_USER http variable missing Web connection ISAPI/CGI

Postby Thomas Holzer » Wed Apr 20, 2011 12:11 am

Hello,

After migrating to Visual Age 8.0.2 the requestDictionary (AbtWsiRequest>>requestDictionary) does not include the REMOTE_USER http variable any more.

With Visual Age 7.5 the REMOTE_USER variable is included. This reminds me of an old bug in abtwstt.c where this http header was not transported from the web server to Smalltalk.

What can I do to get the REMOTE_USER variable again with Visual Age 8.0.2?

Regards

Thomas Holzer
Thomas Holzer
 
Posts: 16
Joined: Fri Nov 21, 2008 2:14 am

Re: REMOTE_USER http variable missing Web connection ISAPI/C

Postby wembley » Mon Apr 25, 2011 7:39 am

Thomas -

I would start by double-checking that you did not have any custom modifications to the WebConnection code in V7.5 -- both the Smalltalk code and the binaries for WebConnection have not changed in a very long time.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC

Re: REMOTE_USER http variable missing Web connection ISAPI/C

Postby Thomas Holzer » Tue Apr 26, 2011 1:46 am

Hello John,

yes, I already did this before posting here. The missing http header does not come from the socket stream in AbtWsiConnectionTcp>>receiveRequest: . In 7.5 the socket stream answers the missing http header REMOTE_USER.

This means it the header is not removed by Smalltalk but it is not delivered trough the ISAPCI/CGI DLL oder .exe.

The result of the missing http header is that no customer of our application can use the “single sign on” via Microsoft NTLM after migration to the VA 8 version of our application :(

Regards

Thomas Holzer
Thomas Holzer
 
Posts: 16
Joined: Fri Nov 21, 2008 2:14 am

Re: REMOTE_USER http variable missing Web connection ISAPI/C

Postby Thomas Holzer » Wed May 04, 2011 4:23 am

Hello John,

this is a bug that someone at IBM (Bryan Hogan?) fixed in 1998 for us. Because this is the time stamp of our abtwsc.dll and abtwstt.dll. We have used this old DLLs also with the VA 7.5 image. And therefore it looked like the problem of missing HTTP headers was depended on the change between 7.5 and 8.0. After using these old DLLs with VA 8 the problem disappeared.
The problem is described also here:

http://groups.google.com/group/ibm.soft ... ce16a917e3

Please add the entire missing headers (http user agent etc) to abtswtt.c and recompile the DLLs.

Regards

Thomas Holzer
Thomas Holzer
 
Posts: 16
Joined: Fri Nov 21, 2008 2:14 am


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest

cron