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

Reply via email to