server.transfer vs. response.redirect

Discussion in 'ASP General' started by JT, May 7, 2004.

  1. JT

    JT Guest

    ok here is my scenario - using model, vew , controller architecture:

    -- user submits the view page to the controller
    -- controller issues a server.execute on a model page to update the changed
    information
    -- upon successful updating of the the information, the controller issues a
    server.transfer back to the view
    -- everything is fine at at this point, however, if the user hits the
    re-submits the page at this point, the original items are still in the
    request object from the first time around because the page never went out of
    scope - so this causes another update to be inssued because changes are
    detected between what is in the database and what is in the request.form
    collection.


    thanks much for the help.

    jt
    JT, May 7, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Justin
    Replies:
    3
    Views:
    532
    Cowboy \(Gregory A. Beamer\)
    Jul 31, 2003
  2. Harsh Thakur

    Response.Redirect vs Server.Transfer

    Harsh Thakur, Aug 18, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    765
    Harsh Thakur
    Aug 18, 2003
  3. yma
    Replies:
    2
    Views:
    419
    Kevin Spencer
    Dec 4, 2003
  4. Sal
    Replies:
    1
    Views:
    381
  5. David C. Holley

    server.execute/response.redirect/server.transfer

    David C. Holley, Jan 17, 2004, in forum: ASP General
    Replies:
    6
    Views:
    423
    David Holley
    Jan 18, 2004
Loading...

Share This Page