Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    removing session id from URL

    hi friends,

    The issue is i am getting a jsessionid=salkfjlsjfljslfjlsf attached to the url for the first time when i load my page.
    How to avoid that without dealing with cookies

    Thanks in advance.

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    have u tried setting the session attribute of the page directive

    Code:
    <&#37;@ page session="false" %>
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

  • #3
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i tried that in my jsp, it wont work

    anyways, i am redirecting to the url using java.net.URLEncoder.encode();

    and docs say it will attach the session ID to the url if the cookies are not turned on.. i turned on the cookies to.. that wont work also HELP !!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •