cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandes, Wayne" <>
Subject sitemap flow based on requestor's URL?
Date Thu, 02 Jan 2003 19:42:17 GMT
I want to direct flow through the sitemap based on whether the requestor is
inside or outside my firewall.  Everyone external to the firewall will
appear to cocoon to have the same URL. I need external visitors to be
directed to a login page. Internal visitors should be automatically assigned
a session object so they dont have to login and can directly access
protected area of the sitemap.
I'd like to be able to do this using sitemap logic but the only way I find
to get access to the requestor's URL is with xsp:get-remote-address.  
If I must use an xsp page for this, I can test the URL and create a session
if it's an internal URL. but then I would need to follow this up with a
redirect to the protected area. 
any suggestions for an approach to the solution greatly appreciated.
Wayne Brandes, DO MPH 
Director of Healthcare Informatics 
American Institutes for Research 
Prospect Center 
10720 Columbia Pike 
Silver Spring, MD 20901 

View raw message