url rewriting when the url contains parameters

From: Gaurav Agarwal (gaurava_at_gmail.com)
Date: 01/31/05


Date: 31 Jan 2005 02:49:30 -0800

Hi,
I am trying to maintain sessions by doing URL rewrite. Things were
working fine till the URL did not contain any parameters. The URL that
I have now is of the form:

http://myurl?id=1&user=null and on doing a sessionID append it becomes

http://myurl?id=1&user=null;jsessionId=xyzw..

Things still get authenticated but now when I try and get the value of
user I get passed the whole string after user= and not just null.
What is the right way to append the sessionID? Btw, I am using the URL
to connect to a servlet from a j2me client.

Thanks,
Gaurav