PHP General :: Showing Errors as Alert
This thread was displayed: 0 times
Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.
For more information about the affected products visit: www.interaktonline.com/Support/
Wolfgang Kimmig
04-10-2007 18:00:18 GMT +2
|
Hi,
i've got the following Problem:
Firefox has problems with sessions started in different browserwindows on the same server. Destroying the session in one browser corrupts the session in the other window. This leds to the following error, which is shown in the KTML-Editor:
{'error': {'code': 'KTML_INVALID_SESSION', 'message': 'Ihre KTML Sitzung ist korrupt. Bitte kopieren Sie den Inhalt in einen anderen Texteditor, um zu verhindern, dass Ihre Arbeit verloren geht.Die Ursache kann eine Firewall sein, die Cookies blockiert. Bitte konfigurieren Sie die Firewall so, dass Cookies akzeptiert werden.'}}
Now my question: Is it possible, to show this message in a JavaScript-Alert and not as text within the editor? Replacing the user's text by the errormessage leds to loss of the user's data, when this error happens (i.e. when the user submits the form).
Greetings
W. Kimmig
|
|
|
Razvan Racasanu[InterAKT]
04-11-2007 10:22:07 GMT +2
|
Hello,
No, unfortunately this is not possible. Even though they are in different windows, FireFox shares the same session, so once you end the session in one window, it will be gone in all of them.
Regards,
Razvan RACASANU
|
|
|
Wolfgang Kimmig
04-11-2007 10:44:35 GMT +2
|
Hi,
thank you for your answer. We know the problems of Firefox with sessions.
It would help, if the message {'error' ... is shown as JavaScript-alert and not as replacement of the user's text in the editor. So the user's text would not be lost immediately, if the session is corrupt (or other errors occour) and the user is able to copy his work.
I think, this should be possible.
Regards,
Wolfgang Kimmig
|
|
|