• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

encrypting data

 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have a search page in jsp where i have given an html link on the names dispplayed:
<a href="my_page.jsp?user_login=#user_login#"> name</a>
user_login is the code of the employee. I wanted to know how do we encrypt this data so that the user_login value is not displayed on the address bar of the next jsp file.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if you do a search on google you can find a lot of encryption scripts out there.
RSA page: http://oregonstate.edu/dept/honors/makmur/
but if you do not want to show the data and you are submiting the form you should use "post" instead of "get" and the information will not show up in the query string in the first place.
Eric
 
jyotsana dang
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi.. in my search part i have this search jsp page which has a form with name and lastname as the input fields to be searched from. The next jsp page - search_result returns the corresponding names.
<table align="center" border=1 cellspacing=3>
<tr bordercolor="#000000">
<td bgcolor="#FFFFCC"><a href ="my_page.jsp?user_login=09090"><%=fname+" "+lname %></a></td>
<td bgcolor="#FFFFCC"><%=Desg%></td>
</tr>
</table>
i wanted to know when i give a hyperlink to the name the user_login that i have given shouldnt be displayed on the url of the address bar.
is it right to give it like i have given above.
Thanks
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only way it will not diplay in the url is if you use frames, you submit a form to the page that uses the information or you manulally have to make them enter it.
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic