Hi Scott,
thanks for your answer.

I'm using Witango Application Server 5.5.009 Liquorice (Win32) [Professional Edition] and I'm developing with Witango Studio 5.5b2 on Windows OS.
I tried the @HTTPATTRIBUTE tag with NAME="FULL_HEADER" but that doesn't return anything. @HTTPATTRIBUTE tag with known and documented names (i.e. CLIENT_ADDRESS, USER_AGENT as an example) it works.

I found an old post in the list: http://developer.witango.com/forum/searchforum.taf?_function=detail&id=126704&vnav=developer
John McGowan says he has the same problem with @HTTPATTRIBUTE tag.


Thanks in advance for your help
Francesca



----- Messaggio originale -----
Da: "Scott Cadillac" <[email protected]>
A: [email protected]
Inviato: Giovedì, 19 novembre 2009 14:14:38
Oggetto: RE: Witango-Talk: Help Witango Josso (accessing HTTPRequest)

Hi Francesca,
 
You may have some challanges ahead of you, depending on what version of Witango you have.
 
The Request.ServerVariables() object in ASP/.NET has to do with retreiving HTTP header properties of the user's request to the webserver. In your case, your code is looking for a custom HTTP header property.
 
Unfortunately some versions of Witango have very limited access to the HTTP request header.
 
If you have Witango 5.5 or later, then I think @HTTPATTRIBUTE is what you'll want. But you may not be able to access HTTP_JOSSO_USER directly, so use the NAME="FULL_HEADER" attribute on your metatag (which returns the whole header) and then parse/search for the info you need.
 
I hope that helps.

Scott,
 
 


On Thursday, November 19, 2009 6:15am, "Francesca Arecco - Genova" <[email protected]> said:

Hi,
I'm trying to use Josso with Witango but I don't know how to get HttpRequest in Witango.

Josso is a Single Sign On Authentication Server. It's able to give back user information inside the HttpRequest.

The way to get user info from HttpRequest with a JSP is:
<%=request.getRemoteUser()%>

An example with ASP is:
<html>
<body>
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr>
<td>
<b>Hello, <%=Request.ServerVariables("HTTP_JOSSO_USER") %>!</b>
</td>

</tr>
</table>
</body>
</html>
How can I achieve the same task with Witango?

Thanks in advance for your response

Francesca
--
Francesca Arecco

Engineering Tributi SpA
Direzione Prodotti e Servizi
Area Sviluppo Software

Via Renata Bianchi 137 - 16152 Genova
tel: +39 (010) 648671 - fax: +39 (010) 6143119
e-mail: [email protected]
_____________________________________
Gruppo Engineering - www.eng.it
System Integrator, Outsourcing e Consulenza

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


[image/gif:...]


--
Francesca Arecco

Engineering Tributi SpA
Direzione Prodotti e Servizi
Area Sviluppo Software

Via Renata Bianchi 137 - 16152 Genova
tel: +39 (010) 648671 - fax: +39 (010) 6143119
e-mail: [email protected]
_____________________________________
Gruppo Engineering - www.eng.it
System Integrator, Outsourcing e Consulenza

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to