PDA

View Full Version : Dynamic Ajax Content script Cookie



d3m0n
03-15-2007, 02:23 PM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem:

i have a form on same page as soon as i press submit the ajax content loads default is ther a way to add coockie to the scrtipt so that it doesn't change?

any advices are welcome

Thx

d3m0n
03-15-2007, 02:35 PM
found an answer here

http://www.dynamicdrive.com/forums/archive/index.php/t-11279.html

elecfuture
06-25-2007, 01:11 PM
Hi,

on DynamicDrive Website I found this „Dynamic Ajax Content“ Script, and was immediately absolutely delighted.

The solution posted in this forum, which allows saving activity in a cookie, I consider really brilliant.

But there´s a problem: Gradually the cookie is filled up and one can no longer operate/handle the website. Nada, nothing goes. Is there a possibility to solve this problem?
Content of the cookie:

Name: objsloaded
Content: style.css/on_off/navigation_button_on.css?1182466100578 style.css/objects_module/kalender_on.css?1182466105093 style.css/objects_module/time_off.css?1182466106406 style.css/objects_module/orangekiss_on.css?1182466106937 style.css/objects_module/orangekiss_off.css?1182466107796 style.css/wallpaper/hell_01.css?1182466108218 style.css/wallpaper/green_01.css?1182466108609 style.css/wallpaper/hellbraun_01.css?1182466109078 style.css/objects_module/button_design.css?1182466109750 style.css/objects_module/button_options.css?1182466110062 style.css/objects_module/button_design.css?1182466110281 style.css/objects_module/button_options.css?1182466110484 style.css/objects_module/button_design.css?1182466110859 style.css/on_off/navigation_button_off.css?1182466112109 style.css/on_off/navigation_button_on.css?1182466112859 style.css/objects_module/button_options.css?1182466353218 style.css/objects_module/button_design.css?1182466353437 style.css/objects_module/button_options.css?1182466354281 style.css/wallpaper/hellbraun_01.css?1182466355703 style.css/wallpaper/hell_01.css?1182466356203 style.css/wallpaper/green_01.css?1182466356875 style.css/wallpaper/hell_01.css?1182466357390


What I want to know is: Can I teach the script to remove the last entries, which are double? In the case above these are blue-marked passages. As you see, the cookie is almost filled up.

These double-entries are not used anymore and should be removed.

I would be very pleased about a solution of this problem. It would be really helpful to me.


THX // René