menu array item size limit?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
theking@mysecretbase.com
Advanced
Advanced
Posts: 18
Joined: Sun May 19, 2002 7:23 pm
Location: Fresno CA USA
Contact:

menu array item size limit?

Post by theking@mysecretbase.com »

I have this client who is trying to use swapover images. Trouble is, if the urls are too long they don't work. At some point (unknown at present) the menu can't handle the sheer length of the url.

Here's a sample menu item - its really a real image url, too. Doesn't work. The client's image/swapimage url was of course much shorter (74 characters), but still didn't work.

,"<img src=http://foohbar.org/images/thisis/anabno ... outuep.gif border=0>","index.cfm swapimage=http://foohbar.org/images/thisis/anabno ... ,"About",1

Since we're using swapimages, the problem is magnified.

The above is coming from a system that automatically builds the menu out of a db. Absolute urls are in use so a single admin area can control multiple menu systems kept in multiple folders on the client web site.

Whats the limit that I'm running up against? Is there any chance of lifting it to allow a really long string as above? If I have to I can make mods to allow relative urls via base href settings, but if a simpler fix is available I'd love to hear it. Base HRef settings can bollix up other things, and I'd rather keep menu settings self-contained if possible.
---
NOTE ADDED JUNE 4:
I've recommended to the client that they either implement mappings in the web server or just copy their image folders so the admin area and the live areas can both use relative urls, so I think this is solved without an excess of brainpower. Still, I'm curious as to what the limit is.
--Matt--
Post Reply