How about using form variables? (Doesn't hide the values from the end user
though, if that's what you're trying to achieve)

Alex

> -----Original Message-----
> From: Aunger, Mitch [mailto:[EMAIL PROTECTED]]
> Sent: 05 September 2002 16:39
> To: CF-Talk
> Subject: passing variables (was: Hiding Source Code)
> 
> 
> Hi all
> 
> I tried to send this msg yesterday and it never came thru (i 
> must be killing
> the server ggg)and of course, I didn't save it, so maybe this 
> version will
> be shorter.
> 
> My question is related to the comments below... 
> (the short version is:) is there another way to pass 
> variables to another cf
> page other than the URL (and session or client variables)? 
> I've searched
> high and low and can't find another option.
> 
> (longer version:) I want to present the user with LINKS which 
> are formed
> with the right variables I need in the second cfm page. But 
> since there
> isn't any interaction with the first page when the user 
> clicks a link, I
> can't think of any other way to do it....
> 
> ex: (i want to pass the value of "parm")
> <a href="abc.cfm?parm=1">link to abc1</a>
> <a href="abc.cfm?parm=2">link to abc2</a>
> <a href="abc.cfm?parm=3">link to abc3</a>
> <a href="abc.cfm?parm=4">link to abc4</a>
> etc.
> 
> I can't CFSET anything since I can't read the user's mind 
> before she clicks
> and i can't set anything after because there's no interaction 
> with the first
> page when a link is clicked.
> 
> Any suggestions?
> 
> thanks
> Mitch
> 
> -----Original Message-----
> From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 2:00 PM
> To: CF-Talk
> Subject: RE: Hiding Source Code
> 
> 
> pass the variable in a session or client variable
> 
> -----Original Message-----
> From: Paul [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 2:59 PM
> To: CF-Talk
> Subject: Re: Hiding Source Code
> 
> 
> The main reason I am trying to hide the code is that through 
> some pages I
> have variable's values being past and for whatever reason the 
> variable's
> value seems to be displaying in the source code, that is what 
> I am trying to
> hide, the variable's value. I'm not sure why the variable's 
> value would show
> up in the source code in the 1st place? Possibly I should simply take
> another approach as to how I am passing the variables?
> 
> Thanks for your input
> 
> -Paul
> 
> 
> -----Original Message-----
> From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 2:33 PM
> To: CF-Talk
> Subject: RE: Hiding Source Code
> 
> 
> Ah, hide html?  I don't expect there is a way of doing that.  
> The browser
> needs the html code to render the visible page.  No HTML no webpage.
> 
> I did run a cross a guy a few years back that was overly 
> afraid that his
> html code would be stolen and reused on other sites. So he 
> found a html tool
> that would remove all extra spaces and all line brakes.  The 
> html code would
> be turned into 1 really long line of code.  I found that 
> almost any program
> like dream weaver or CF studio would fix his code so I could 
> read it easily.
> 
> Any reason you are looking to hide your HTML?
> 
> Mark W. Breneman
> -Macromedia Certified ColdFusion Developer
> -Network / Web Server Administrator
>   Vivid Media
>   [EMAIL PROTECTED]
>   www.vividmedia.com
>   608.270.9770
> 
> -----Original Message-----
> From: Paul [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 1:33 PM
> To: CF-Talk
> Subject: RE: Hiding Source Code
> 
> 
> I apologize my question should of been more clear. I realize 
> that the CF
> code is hidden, but I was hoping coldfusion could somehow 
> block out the HTML
> code as well?
> 
> 
> 
> 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to