[Mono-list] Running ASP.Net Application under OpenSuSE 11.1

Arne Lindner arnelindner100 at yahoo.de
Wed Mar 18 15:19:22 EDT 2009


I am new to develop ASP.Net applications. I try to develop a database driven app using Microsoft Framework 2.0 using Visual Studio 2008. Under XP everything is OK but when making website public on a OpenSuse 11.1-machine, not everything is OK. My problem is:
On the form there is a button for deleting a record in the database. Before doing so a confirmation should appear on the screen. After pressing OK the record should be deleted in database. 
For generating the confirmation dialog javascript is used which set an hidden field with true/false-value:

    <script type="text/javascript">

        function ConfirmDelete() {
            dlgconfirm = confirm("Soll der Datensatz gelöscht werden?");
            var input = document.getElementsByName("confirmvalue");
            if (input.length == 0) {
                input = document.createElement("input");
                input.setAttribute("type", "hidden");
                input.setAttribute("name", "confirmvalue");
                input.setAttribute("value", dlgconfirm);
            else {
                input[0].value = dlgconfirm;

Under WinXP it is ok. In the page_load-procedure I can get the value of the hidden field "confirmvalue"

                // Confirm für Löschen?
                if (Request.Form["confirmvalue"] != null) {
                    if (Request.Form["confirmvalue"].ToString().ToLower() == "true") {
                        btnLöschenAusführen_Click(sender, e);

But when copying the website to OpenSuSE 11.1 the confirmation dialog appears but I can not access the value using Request.Form or Request.Params.
Then I tried to set a cookie. Under XP this cookie can be read but not under OpenSuSE 11.1. I think, there is a configuration problem in mono... But where should I have look at?

Greeting Arne 

More information about the Mono-list mailing list