• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

pass val in url

Guest
Feb 13, 2008 Feb 13, 2008

Copy link to clipboard

Copied

Hi,
Is there any better way instead of passing value in url? Because in url people can see the all values. I am passing id's in url but i don't want other to see that. again my data is not that sensitive.
thanks
TOPICS
Advanced techniques

Views

410

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2008 Feb 13, 2008

Copy link to clipboard

Copied

Pass them to an intermediate page which changes them to session variables first and then redirects to the real page.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2008 Feb 13, 2008

Copy link to clipboard

Copied

You could use form elements instead.

Or you could use encrypt and decrypt.

Encrypt

http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_e-g_01.html#1104201

Decrypt

http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_c-d_40.html#1103962

--
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com


"Nick201" <webforumsuser@macromedia.com> wrote in message
news:fov979$bor$1@forums.macromedia.com...
> Hi,
> Is there any better way instead of passing value in url? Because in url
> people
> can see the all values. I am passing id's in url but i don't want other to
> see
> that. again my data is not that sensitive.
> thanks
>
>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 13, 2008 Feb 13, 2008

Copy link to clipboard

Copied

please show me an example. thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2008 Feb 13, 2008

Copy link to clipboard

Copied

http://www.cfdan.com/posts/Securing_your_applications_URL_variables.cfm

Even has a ZIP download on the page:

http://www.cfdan.com/codeDownload/urlEncryptDecrypt.zip

--
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com


"Nick201" <webforumsuser@macromedia.com> wrote in message
news:fovaij$d7m$1@forums.macromedia.com...
> please show me an example. thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 27, 2008 Feb 27, 2008

Copy link to clipboard

Copied

What about trying to pass values in hidden form fields?
Depending on what values you are passing, you might consider inserting the values into a database and then pass a keys in the url. Once on the desired page use the keys to unlock the true values that you previously stored in the database.. Just one idea..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 11, 2008 Mar 11, 2008

Copy link to clipboard

Copied

LATEST
Hi Nick
Use Scope variables like form / session or try to encrypt the value and pass through the URL.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation