I do already have a disclaimer page.  Lets say I have a page called content.cfm 
and a page called disclaimer.cfm.  The user will use a CMS tool to write the 
content for the content.cfm page.  They have no control over the layout of the 
page (headers, navigation, footers, or anything like that).  Using this tool, 
the user creates the content and creates any links.  The user does NOT see any 
HTML at all.  The CMS tool does everything for the user.

Now when a user creates a link in content.cfm they prefix any link with 
http://mysitename.com/disclaimer.cfm?destination=

For example a link a user might enter into the CMS tool might look like: 
http://mysitename.com/disclaimer.cfm?destination=http://someurlhere.com/disclaimer.cfm?destination=http://go.reuters.com/newsArticle.jhtml?type=healthNews&storyID=12037965&src=eDialog/GetContent

So the disclaimer page is displayed first before redirecting the user to the 
intended link.

What my disclaimer.cfm page does now is extracts the value from the destination 
url variable and a javascript then redirects the page to that value.  But it 
doesn't work when there are multiple URL parameters in the destination URL, 
like in the Reuter link above.

I'm trying to find a solution that would allow the disclaimer.cfm page to do 
all the work of extracting and creating the redirect link correctly without 
having the user do anything different on the content.cfm page.

I hope this clears up my problem.  I really don't know how else to explain it.

> So I'm basically trying to find a way to have the disclaimer page 
> extract the complete URL from the referring page (which is the page 
> the content editor makes).
> 
> 
> Do you have this disclaimer page?  Or are you asking how to substitute 
> a disclaimer page when a user clicks on a link in content made by your 
> CMS?
> 
> I understood from your first post, that you had the disclaimer page 
> working, but that when users clicked on the link in it, the did not 
> get to some pages properly if the relocation link had url parameters.  
> Is this correct?  Do you have a page that makes these links for you?
> 
> http://someurlhere.com/disclaimer.cfm?destination=http://go.reuters.
> com/newsArticle.
> jhtml?type=healthNews&storyID=12037965&src=eDialog/GetContent
> 
> Or are you asking for help on how to create these kinds of links in 
> the first place.
> 
> 
> 
> 
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
> 
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
 
> 
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message. 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240143
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to