Probably the message comes when the Local stack is Full.
1.During Preview/Publish when the message comes up, it provides an option to allocate some (default 10 KB) space for local data. Click "Enable". Successive previews wont show up this message until the stack is full again.
2. Open a blank new project and enable TOC. Preview it in Web Browser. During Preview right click and select "Settings". Under "Local storage" drag the pointer to right most end (which indicates unlimited). You wont get this permission message again.
See if the link below helps.
Thanks Ashwin & Rick.
Yes, stack was full.
And both of those tips would solve my problems..
but this project is for a customer, so is there anyway to avoid this happening for them ?
I mean, why is TOC saving data if nothing needs to be saved..?
And i guess my stack got full after testing TOCs in different projects?