• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hiding request parameters while redirecting request

 
NitinJ Gupta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am redirecting my request to another application.
I want to pass userName and password to this application.
I would like that the userName and password are not visible in URL .
When i use response.sendRedirect(url) I am not able to hide them.
Can any one suggest me some other option to overcome this.

Thanks
Nitin
 
Sandeep Deshmukh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that you use a form tag of html to get username and password.
place the method =post attribute in the form tag bcoz default is method=get.
this might solve ur problem.
You can keep the url as of now during development to check if your username and password are actually being sent. when you complete your project or assignment just change the method=post in form tag.

Reply on success.
 
NitinJ Gupta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sandeep,

I am having a bigger problem than this
I dont know the application to redirect in advance
Based on my user name say "nitin@kalzoom.com" i pick "kalzoom" and decide where to forward my request .
I want this processing to be done at server side .

Can u please help
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no idea as such.

couldn't you encrypt the password at your side and have a key there at recepient end. just a thought.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!