Hii Crmpicco!!
Still there is a hope to solve it!! Let we do something.
1>Cookiess-user disabled cookies.
2>javascript variable-user refresh the page.
3>For each page submission or page unload save the data savePageSatus.asp(say)in temporary file.
(a)on page load check whether there is data for current_id and current_user.
(current_id is unique random number,that is sufficient to find the data
stored in txt/database or csv file for current_user and current page)
(a.1)If no data is found then it is fresh page
(a.2)If data is found then load the data which is previous value
this is the case when user refresh the page.
(b)When user refresh the page ,load the current status(data)
into temp file which can be database,csv file.
(c)When user submit the page ,before the actual form submission,
(c.1) load all** the current status data into temp file.(??)<Since for some options,
your control disabled certain form field values which can't be retrieved in form submission page
,when user click on the submit button,so its not a good idea to save data only in the submission of
form.>
(c.2)after loading the data ,save the actual data into actual database tables/files.
(d)When user click on the back button,might be he/she wants to make enable disabled
field values,So... ,on page load<since page was already loaded> get the values from
getPageSatus.asp(say) and load the data,set their corresonding values,create dynamic
tables,set their values using javascript etc.
(e)How to call savePageSatus.asp??
(e.1)Either using iframe , I prefer using normal xmlhttp and activex object request.
(e.2)Using Ajax you can achieve this ,yet I have not find the opportunity
to work using Ajax.For more info plz visit
http://dev2dev.bea.com/pub/a/2006/01...ck-button.html
http://dev2dev.bea.com/pub/a/2006/01...on.html?page=2
http://www.sitepoint.com/blogs/2005/...for-ajax-apps/
http://codinginparadise.org/weblog/2...on-across.html
Note-1>there must be some way to tell the user which values are actually submitted.
we can put diff style colors or * for that.
2>there must be one codition ,on occurence of which we want to save the data,
e.g first time page is loaded and I just refresh the page without click of
AddNew Table button which creates dynamic table and fields values.We can put
this validation to avoid unconditionally call event of savePageSatus.asp
Please let me know if you find any other techniques!!
Hope this will help you
Cheers :)
vinod