dcsimg
Objects in memory
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Twist_er
Posted On:   Monday, March 17, 2003 07:49 AM

I have created a script that dynamically create input fields within a jsp page (it does not make a trip to the server, it is added to the DOM), is there some way to store these objects when the page is posted to a server or refreshed? Can I reference these objects in memory and then write them into the page if the page is refreshed or redisplayed?
Thank you and have a great day

Re: Objects in memory

Posted By:   Nitesh_Naveen  
Posted On:   Monday, March 17, 2003 10:17 AM

keep a count/record of these objects in a hidden field. You can then redisplay it when you come back to the page after a submit. But for the same to work on refresh etc you may need to store the count/record of objects in cookies. see this faq about cookies (click here)
About | Sitemap | Contact