• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Accessing variable under secure connection

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I had a jsp page, which accessed variables from a previous page. Now I am passing data under secure socket connection. How can I access the variables which I used to access before the secure connection. Now its giving me exception when I'm accessing the variables. Server i'm using is tomcat 3.2.4. Waiting for reply
Thanks and regards
Ali
 
author
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not exactly clear on your situation but, as far as I know, you that you cannot pass parameters from an unsecure page to a secure page (i.e. https) or vice versa. You'll get conflicts with the data being encrypted.
Sean
 
Ali Haider
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I just want to know that the site which are made in jsp, those which accept credit cards, how do they retrieve the form variables when they received the values from a secure connection. I'm trying to access but its not working. Reply soon.
Thanks and regards
Ali
 
Sean MacLean
author
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, if your web pages use a secure socket (https) to submit the form data, you have to have a server listening on a a secure port then you shouldn't even have to think about the encryption. For example, with bea the defaults are 7001 for regular http requests and 7002 for https requests. The server uses a digital certificate (i.e. verisign) to encrypt/decrypt the data. Basically, once you set up your secure port on your server, the data encryption should be hidden - completely behind the scenes. So if you are having trouble with form data, etc., it's most likely a configuration issue with the server. If you want to know the details on https check out some digital certificate sites. Hope this helps.
Sean
 
To do a great right, do a little wrong - shakepeare. twisted little ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic