using ; in an url

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Johan_2003
Advanced
Advanced
Posts: 11
Joined: Tue Nov 18, 2003 4:43 pm

using ; in an url

Post by Johan_2003 »

Hi,

I'm using jsp & struts to build my menu. I'm using url rewrite (html:rewrite) for building my url's. When my users are blocking cookies automaticly a session id is added to the url like this:
/iwt/algemeen/brochures.jsp;jsessionid=A6C2740FE57FAF195DE34027B96DA3AB?topNav=student

My problem is that the menu system recognizes the ; as the end of the url and so the session id and other information is lost when a user uses the menu.

Is there a workaround for this problem? Is there a way I could use ; in my url's?

Johan
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

so far i remember, you can escape the ;-sign. Try this: \;
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

Try enclosing the text inside backquotes like this:

aI("text=link;url=`/iwt/algemeen/brochures.jsp;jsessionid=A6C2740FE57FAF195DE34027B96DA3AB?topNav=student`);

Note that they are backquotes and not normal quotes. On my British keyboard the backquotes key is to the left of the number 1 key above tab. Also , the character is ` if you want to use copy and paste.

Cheers
Andy
Post Reply