One possible way:

<cfset pagetoview = GetUser.module & GetUser.page & ".cfm">
<a href="<cfoutput>#pagetoview#</cfoutput>"> Click here to continue your 
viewing.</a>

Rick Cummings wrote:
> Hello,
> 
> I am trying to use a variable, pagetoview, to access a particular page in a 
> website based on where the user has left off viewing.  The <cfoutput> below 
> shows that I get the variable I need, but I have not found a way to place it 
> in the <a href> statement.
> 
> Any ideas?
> 
> Thanks for your help.
> 
> viajero.
> 
> <cfset        pagetoview = GetUser.module & GetUser.page >
> 
> 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> 
> <html>
> <head>
>       <title>Accessing last page viewed</title>
> </head>
> <body>
> Welcome back!
> 
> 
> <cfoutput>
> '#pagetoview#'
> </cfoutput>
> 
> 
> <p>
> <a href="{#pagetoview#}"+".cfm"> Click here to continue your viewing.</a>
> 
> </body>
> </html>
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:1934
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to