Deleting the lectora cookie??
January 8, 2010 12:00 AM
I invite you to look into session variables (sessvars.js) (http://www.thomasfrank.se/sessionvars.html) a very clever construct that allows you to carry variable values over from page to page as long as the browser session is open. That's right - no need to use cookies or deal with the cookie restriction limit. The limit with this constuct is multiple megabytes (browser dependant) - but - since we're only talking text here - it's negligible.
It's one of the topics on which I hope to present at the Lectora User Conference (plug - plug - plug).
If you need to retain the variable values BETWEEN browser sessions - you're going to have to store this data on a database - BUT even that is simple using dynamic script injection and JSON data format. Again - something I hope to present at the LUC 2010. That's a discussion that will take too long for this forum - but with a little ingenuity using cookies (as long term storage) and the session variable construct (as short term storage) you should be able to do what you are looking to do - - I know because we have built course that already do what you are trying to do using these technologies.
Best of Luck - Peter
Discussions have been disabled for this post