Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:53
using ; in an url
Poster: Johan_2003
Dated: Monday December 8 2003 - 9:01:52 GMT
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
Poster: Martin
Dated: Monday December 8 2003 - 18:08:33 GMT
so far i remember, you can escape the ;-sign. Try this: \;
Poster: Andy
Dated: Monday December 8 2003 - 18:13:20 GMT
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