How to hide the jsessionid id in my address bar in servlet programming

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sumanta123
    New Member
    • Dec 2008
    • 34

    How to hide the jsessionid id in my address bar in servlet programming

    Dear Sir,
    In my servlet proggram

    when i am click the link of ApplicationStat us.jsp in the address bar the url link is showing http://01hw173228:81/help/ApplicationStat us.jsp.
    When i submit the request it will go to servelt page in the and the request address bar is showing
    http://01hw173228:81/servlet/custome...CFFF992B8F8E75

    My doubt is when i submit it should showinghttp://01hw173228:81/servlet/customerservice Servlet.Applica tionStatusSevle t

    Not to display jsessionid=D9D0 0D2A2C7D55901DC FFF992B8F8E75



    ApplicationStat us.jsp
    ApplicationForm .action="<%=res ponse.encodeURL ("/servlet/customerservice Servlet.Applica tionStatusSevle t")%>";



    Could you please suggest me how will i hide the jsessionid id in my address bar.

    Thanks in advance.
    Regards
    Sumanta Panda
  • umbr
    New Member
    • Feb 2009
    • 9

    #2
    Hi sumanta123.
    Check cookies support on both(server & browser) sides.

    Comment

    • sashi
      Recognized Expert Top Contributor
      • Jun 2006
      • 1749

      #3
      Why do you need to hide it? Are you looking at security concerns? You can encrypt it.

      Comment

      Working...