Results 1 to 5 of 5

Thread: how to make a page refresh?

  1. #1

    Thread Starter
    Lively Member Cerebrate's Avatar
    Join Date
    May 2000
    Posts
    82

    Red face

    I use "response.redirect()" to redirect to another page, but that target page is still showing what it had before, I have to hit refresh for new values.
    how can I make my target page refresh?
    or do anything that would solve my problem.

    Thanks!

    Cerebrate

  2. #2
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    Have you tried a meta tag Refresh?

    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://www.PageToRefresh.com">

    Hope this helps

  3. #3

    Thread Starter
    Lively Member Cerebrate's Avatar
    Join Date
    May 2000
    Posts
    82

    Red face Thanks. but..

    thanks for your help, but what I need to know is how to do this in ASP(VBscript). because I cannot call a Javascript function.
    is there anything I can do to clear what's is buffer before I redirect new page? will this solve my problem?


  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    are you using it as:

    Response.Redirect "mynewpage.asp"

    ?

  5. #5
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    You could do:

    <%
    Response.Buffer = true
    Response.Clear
    Response.End
    %>



Posting Permissions

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



Click Here to Expand Forum to Full Width