Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-25-2008, 12:49 PM   PM User | #1
Robin John
New to the CF scene

 
Join Date: Sep 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Robin John is an unknown quantity at this point
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.
Robin John is offline   Reply With Quote
Old 09-25-2008, 07:34 PM   PM User | #2
shyam
Senior Coder

 
shyam's Avatar
 
Join Date: Jul 2005
Posts: 1,563
Thanks: 2
Thanked 163 Times in 160 Posts
shyam will become famous soon enough
have u tried setting the session attribute of the page directive

Code:
<%@ page session="false" %>
__________________
You never have to change anything you got up in the middle of the night to write. -- Saul Bellow
shyam is offline   Reply With Quote
Old 09-26-2008, 07:11 AM   PM User | #3
Robin John
New to the CF scene

 
Join Date: Sep 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Robin John is an unknown quantity at this point
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 !!
Robin John is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:04 PM.


Advertisement
Log in to turn off these ads.