Professional Web Applications Themes

Avoiding query timeouts in ASP.NET ? - ASP Database

Hi We are using ASP.NET on IIS5 to process requests in a database. How can one make choices in the .aspx based on if a user has or hasn't changed a field? Is it possible to control the ASP.NET environment by use of some client side scripting ( ?changes=yes to URL) or is there a way to tell in .aspx which Label elements has changed? Only solution i can think of currently is to query the DB and then do an field by field comparision. Is that the best way? - Sten...

  1. #1

    Default Avoiding query timeouts in ASP.NET ?

    Hi

    We are using ASP.NET on IIS5 to process requests
    in a database.

    How can one make choices in the .aspx based on
    if a user has or hasn't changed a field? Is it possible
    to control the ASP.NET environment by use of
    some client side scripting ( ?changes=yes to URL)
    or is there a way to tell in .aspx which Label elements
    has changed?
    Only solution i can think of currently is to query the
    DB and then do an field by field comparision. Is that
    the best way?

    - Sten



    Sten Guest

  2. #2

    Default Re: Avoiding query timeouts in ASP.NET ?

    There was no way for you to know it, but this is a classic asp newsgroup.
    While you may be lucky enough to find a dotnet-savvy person here who can
    answer your question, you can eliminate the luck factor by posting your
    question to a group where those dotnet-savvy people hang out. I suggest
    microsoft.public.dotnet.framework.adonet.

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Guest

  3. #3

    Default Re: Avoiding query timeouts in ASP.NET ?

    Hello,

    Be very carefully when trusting client side code. A client can very easily
    fake a change, when nothing has changed, and can cause problems depending on
    what your application is about.

    One way to solve your problem is to use hidden fields.

    I suggest that you try in a newsgroup about ASP.NET, for example:

    microsoft.public.dotnet.framework.aspnet

    --
    Regards,
    Kristofer Gafvert - IIS MVP
    http://www.ilopia.com - When you need help!


    "Sten Westerback" <com> wrote in message
    news:nQ3Tc.22610$nokia.com... 


    Kristofer Guest

  4. #4

    Default Re: Avoiding query timeouts in ASP.NET ?

    well this is pretty easy to acomplish on the client ( HTML ) side, if you
    add handling code to the onchange event of a html textbox control
    you can then post these changed values to a hidden frame



    "Sten Westerback" <com> wrote in message
    news:nQ3Tc.22610$nokia.com... 


    M. Guest

Similar Threads

  1. Connection timeouts
    By ZoombyWoof in forum MySQL
    Replies: 2
    Last Post: March 4th, 04:21 PM
  2. session timeouts
    By rgurganus in forum Macromedia ColdFusion
    Replies: 0
    Last Post: June 21st, 04:04 PM
  3. Timeouts on GetRequestStream()
    By James Delides in forum ASP.NET Web Services
    Replies: 0
    Last Post: June 10th, 01:26 AM
  4. PHP SESSION timeouts
    By Catalin Trifu in forum PHP Development
    Replies: 3
    Last Post: September 3rd, 04:14 PM
  5. Cwd Module - Timeouts
    By George C. Demetros in forum PERL Modules
    Replies: 2
    Last Post: July 23rd, 11:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139