Title: Re: xsp:attribute generating a new element instead of an attribute in an already existing element
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
 
Wayne Brandes, DO MPH
Director of Healthcare Informatics
American Institutes for Research
Prospect Center
10720 Columbia Pike
Silver Spring, MD 20901
Wbrandes@air.org

Reply via email to