Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > server.transfer vs. response.redirect

Reply
Thread Tools

server.transfer vs. response.redirect

 
 
JT
Guest
Posts: n/a
 
      05-07-2004
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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments