Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

userData not saving when IE exits abnormally

Within our scripts, we are using the userData behavior to store the data entered
by a user into an an xml file so that it is persisted when the user returns
to that specific page. The call to save the information occurs when the user
clicks a specific button on the web page (a Save button), and this works
fine as long as the user closes out of IE properly afterwards. However, if
IE exits abnormally (for example, due to a power outage where the machine
goes down unexpectedly), the user expects the data to be saved, because the
user had already clicked on the Save button prior to IE's abnormal exit.
However, upon re-entering the web site, it is apparant that none of the information
was saved at all. I have stepped through the process to verify that the save
method of the userData behavior is in fact executed successfully prior to
the machine shutting down abnormally. Does IE have a built-in mechanism to
clear user data that was to be persisted when it exits abnormally? I cannot
find documentation on this type of scenario anywhere.
[1101 byte] By [lori] at [2007-11-9 16:15:23]
# 1 Re: userData not saving when IE exits abnormally
That IS weird.. are you sure its not a caching problem?

lori wrote in message <3cf3c9f0$1@10.1.10.29>...
>
>Within our scripts, we are using the userData behavior to store the data
entered
>by a user into an an xml file so that it is persisted when the user returns
>to that specific page. The call to save the information occurs when the
user
>clicks a specific button on the web page (a Save button), and this works
>fine as long as the user closes out of IE properly afterwards. However, if
>IE exits abnormally (for example, due to a power outage where the machine
>goes down unexpectedly), the user expects the data to be saved, because the
>user had already clicked on the Save button prior to IE's abnormal exit.
>However, upon re-entering the web site, it is apparant that none of the
information
>was saved at all. I have stepped through the process to verify that the
save
>method of the userData behavior is in fact executed successfully prior to
>the machine shutting down abnormally. Does IE have a built-in mechanism to
>clear user data that was to be persisted when it exits abnormally? I cannot
>find documentation on this type of scenario anywhere.
patch at 2007-11-11 23:36:55 >