Refresjing an ASP Page

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Refresjing an ASP Page

    Hi,

    I have an ASP Page where a user can update their account
    info.

    Having updated their account details I do a
    Response.Redirect to the same page in order to refresh the
    details.

    However, I want to display a message on the page that
    their account has been updated successfully.

    How can I do this and also refesh the page without
    clearing the message?

    Any help is much appreciated.

    Thanks,
    Keer.
    Kerri Guest

  2. Similar Questions and Discussions

    1. Splitting or separating 1 multi page pdfdocument into individual page documents
      I am looking for any product that will take a multi page pdf file and burst or separate it into individual pdf files created from each page. Mac...
    2. Page Has Expired Message in between the php Page When I click Back in Explorer Menu
      Could anyone please help me on this?? I have a php script page, which is basically quiz. Visitors (after login in with their email address) are...
    3. Accessing Values of local variables in previous page when using custom error page
      Hello, I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all...
    4. Prevent 'Page has expired' when a client hits back to return to a search page
      I have a search page that I want to enable private caching so that when a user hits the back button they dont get the page has expired error. I...
    5. Calling a html page from an asp page then returning to the next statement on the original asp page
      Hi! I have an ASP page that calls excel to create a report. This works fine. Now I need to call a html calendar page to filter what rows are...
  3. #2

    Default Re: Refresjing an ASP Page

    Kerri wrote:
    > Hi,
    >
    > I have an ASP Page where a user can update their account
    > info.
    >
    > Having updated their account details I do a
    > Response.Redirect to the same page in order to refresh the
    > details.
    So page A submits data to page B which redirects back to page A?
    >
    > However, I want to display a message on the page that
    > their account has been updated successfully.
    You can use a querystring in the redirect url to signal page A to display
    the message.
    >
    > How can I do this and also refesh the page without
    > clearing the message?
    I don't understand, when page A submits data to page B, page A is no longer
    "active" in the browser. When you do the redirect, page A is automatically
    "refreshed".

    HTH,
    Bob Barrows


    --
    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 Barrows Guest

  4. #3

    Default Re: Refresjing an ASP Page

    On Sun, 26 Oct 2003 09:22:35 -0500, "Bob Barrows"
    <reb01501@NOyahoo.SPAMcom> wrote:
    >Kerri wrote:
    >> Hi,
    >>
    >> I have an ASP Page where a user can update their account
    >> info.
    >>
    >> Having updated their account details I do a
    >> Response.Redirect to the same page in order to refresh the
    >> details.
    >
    >So page A submits data to page B which redirects back to page A?
    >
    I imagine the OP will clear this up, but I think they are posting to
    the same page. Page A submits data to Page A along with the new data.
    This is quite common of course. If I understand the question, then
    where you would want to place the message, do the same test as you did
    at the top of the ASP section to determine if this is an update or
    not. If it is an update (data has just been updated) then show the
    message.

    This would also be a good place to display any error messages or
    validation exceptions that you have caught on the server side.

    Dan Brussee Guest

Posting Permissions

  • You may not post new threads
  • You may 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