Re: Hide URL
send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
Wouldn't a frameset hide the address bar of child frames? -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 6:27 AM To: CF-Talk Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
it is a redirect from an ASP application to CF app during a login process -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:24 AM To: CF-Talk Subject: Re: Hide URL send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
hehehe, post-it note over the browser URL works well. :) That's funny... :) ~Todd On Mon, 12 Aug 2002, Alex wrote: send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami -- Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ | Team Macromedia Volunteer for ColdFusion | http://www.macromedia.com/support/forums/team_macromedia/ | http://www.flashCFM.com/ - webRat (Moderator)| http://www.ultrashock.com/ - webRat (Back-end Moderator) | __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
A url variable is a url variable .. you will need to send it as a form or in a session variable Paul Giesenhagen QuillDesign - Original Message - From: Cami Lawson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 12, 2002 8:27 AM Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
Client doesn't allow frames for their application. -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:25 AM To: CF-Talk Subject: RE: Hide URL Wouldn't a frameset hide the address bar of child frames? -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 6:27 AM To: CF-Talk Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
You can send a post request to CF from ASP, with form fields that have the values you need to send over. - Original Message - From: Cami Lawson [EMAIL PROTECTED] Date: Monday, August 12, 2002 7:27 am Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
You might try something like this: cfif Len(CGI.QUERY_STRING) GT 0 cfset Session.UrlStruct=Duplicate(URL) cflocation url=#CGI.SCRIPT_NAME# /cfif cfif IsDefined(Session.UrlStruct) cfset URL=Duplicate(Session.UrlStruct) /cfif As of CF5, URL variables are stored as a structure. I haven't tested this and obviously you should be locking the Session variables. You might need to loop over the collection rather than using Duplicate(). -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:24 AM To: CF-Talk Subject: RE: Hide URL it is a redirect from an ASP application to CF app during a login process -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:24 AM To: CF-Talk Subject: Re: Hide URL send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
Cami, What about encoding and then decoding the information? I don't know if ColdFusion has any such features. Maybe it does. But you could write simple code to make the information meaningless at first glance. Of course, this wouldn't stand up to anyone who really wanted to get at the information, but if all you want to do is protect from the casual glance, you can do something as simple as shift every letter in the alphabet by three letters. So, www.mysite.com/mypage.cfm?var1=marketingvar2=finance ..would become: www.mysite.com/mypage.cfm?ydt1=odunhwlqjydt2=ilqdqfh Incredibly simple to decode, but looks like gobbledygook to anyone who doesn't look further. Hope this helps, Matthieu -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 9:27 AM To: CF-Talk Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
encrypt them if you can. -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 12 August 2002 16:39 To: CF-Talk Subject: RE: Hide URL You might try something like this: cfif Len(CGI.QUERY_STRING) GT 0 cfset Session.UrlStruct=Duplicate(URL) cflocation url=#CGI.SCRIPT_NAME# /cfif cfif IsDefined(Session.UrlStruct) cfset URL=Duplicate(Session.UrlStruct) /cfif As of CF5, URL variables are stored as a structure. I haven't tested this and obviously you should be locking the Session variables. You might need to loop over the collection rather than using Duplicate(). -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:24 AM To: CF-Talk Subject: RE: Hide URL it is a redirect from an ASP application to CF app during a login process -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:24 AM To: CF-Talk Subject: Re: Hide URL send them as a form variable, session var, postit note, cookie On Mon, 12 Aug 2002, Cami Lawson wrote: How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hide URL
How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. If you set a persistent scope variable ( session, client, etc. ) to match each significant url variable, then you can use cflocation to relocate to the current page without the query string and use the persistent scope variables and they should never see them in the url ( even if they view properties on the page )... i.e. cfif IsDefined(url.myurlvar) cfset client.myurlvar = url.myurlvar cflocation url=#cgi.path_info# addtoken=nocfabort /cfif cfoutput#client.myurlvar#/cfoutput hth Isaac Dealey Certified Advanced ColdFusion Developer www.turnkey.to 954-776-0046 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
At 11:41 AM 8/12/02 -0400, Cornillon, Matthieu wrote: www.mysite.com/mypage.cfm?var1=marketingvar2=finance ..would become: www.mysite.com/mypage.cfm?ydt1=odunhwlqjydt2=ilqdqfh I encode the entire string for mine, so that the url looks like: www.mysite.com/mypage.cfm?3sd32s2sd22342d1234 or something like that. Then I just decode it on the far end. I use a key that changes all the time to do the encryption, so if it is broken for this session, it will have to be rebroken for every session from there on. On top of this, I use non-intuitive variable names to make things harder to decode. T __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hide URL
Rot13 anyone? :) I think there's a Rot13 UDF on cflib.org if you just wanted to obscure it this way... Isaac Dealey Certified Advanced ColdFusion Developer www.turnkey.to 954-776-0046 Cami, What about encoding and then decoding the information? I don't know if ColdFusion has any such features. Maybe it does. But you could write simple code to make the information meaningless at first glance. Of course, this wouldn't stand up to anyone who really wanted to get at the information, but if all you want to do is protect from the casual glance, you can do something as simple as shift every letter in the alphabet by three letters. So, www.mysite.com/mypage.cfm?var1=marketingvar2=finance ..would become: www.mysite.com/mypage.cfm?ydt1=odunhwlqjydt2=ilqdqfh Incredibly simple to decode, but looks like gobbledygook to anyone who doesn't look further. Hope this helps, Matthieu -Original Message- From: Cami Lawson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 9:27 AM To: CF-Talk Subject: Hide URL How can I hide the information passed in a URL? I don't want the user to see the variables in the address line. TIA Cami __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists