Refresh same page automaticaly on server with parameters!


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Refresh same page automaticaly on server with parameters!

  1. #1
    Nenad Kermeci Guest

    Refresh same page automaticaly on server with parameters!


    Hello,
    I am using this command to automaticaly refresh page every 10 seconds.
    Response.AddHeader "Refresh", "10"

    But I am coming to this page from link with parameter, and after page is
    refreshed parameter is lost, cause refresh is on server.
    If I use client refresh on page, screen is blinking and that is not what
    I want. I am doing client refresh with Java script command: document.refresh.
    Is there any way to pass parameter to server so, after refreshing I still
    have parameter for example with Request.QueryString("...").
    Also does somebody knows client refreshing command from ASP, cause maybe
    with ASP refresh page is not blinking(I am hoping).

    Thanks,
    Nenad Kermeci


  2. #2
    Harish Mohanbabu Guest

    Re: Refresh same page automaticaly on server with parameters!


    Hi,

    I faced a similar requirement in one of the Intranet projects that I had
    worked on earlier. I managed to solve that using a combination of client
    side JavaScript and a little bit of XML. Using this, I managed to refresh
    the table data without re-loading the page completely.

    If you think this will help you, please let me know and I will send you the
    code. The caveat is I used XML Data Island in the page. This means this code
    will only work in IE as Data Island is sort of MS proprietory technology.

    Harish

    "Nenad Kermeci" <nenad@ica.net> wrote:
    >
    >Hello,
    >I am using this command to automaticaly refresh page every 10 seconds.
    >Response.AddHeader "Refresh", "10"
    >
    >But I am coming to this page from link with parameter, and after page is
    >refreshed parameter is lost, cause refresh is on server.
    >If I use client refresh on page, screen is blinking and that is not what
    >I want. I am doing client refresh with Java script command: document.refresh.
    >Is there any way to pass parameter to server so, after refreshing I still
    >have parameter for example with Request.QueryString("...").
    >Also does somebody knows client refreshing command from ASP, cause maybe
    >with ASP refresh page is not blinking(I am hoping).
    >
    >Thanks,
    >Nenad Kermeci
    >



  3. #3
    thiruthanikan Guest

    Re: Refresh same page automaticaly on server with parameters!


    hi try to use session variables.pass ur parameter to a session variable.
    by
    kt



    "Nenad Kermeci" <nenad@ica.net> wrote:
    >
    >Hello,
    >I am using this command to automaticaly refresh page every 10 seconds.
    >Response.AddHeader "Refresh", "10"
    >
    >But I am coming to this page from link with parameter, and after page is
    >refreshed parameter is lost, cause refresh is on server.
    >If I use client refresh on page, screen is blinking and that is not what
    >I want. I am doing client refresh with Java script command: document.refresh.
    >Is there any way to pass parameter to server so, after refreshing I still
    >have parameter for example with Request.QueryString("...").
    >Also does somebody knows client refreshing command from ASP, cause maybe
    >with ASP refresh page is not blinking(I am hoping).
    >
    >Thanks,
    >Nenad Kermeci
    >



  4. #4
    Nenad Kermeci Guest

    Re: Refresh same page automaticaly on server with parameters!


    Thanks for your answer.

    Session is not usefull in these situation, because session will be stored
    only one window, but I need more than one window.

    ****************************

    "thiruthanikan" <kthiru72@yahoo.co.in> wrote:
    >
    >hi try to use session variables.pass ur parameter to a session variable.
    >by
    >kt
    >
    >
    >
    >"Nenad Kermeci" <nenad@ica.net> wrote:
    >>
    >>Hello,
    >>I am using this command to automaticaly refresh page every 10 seconds.
    >>Response.AddHeader "Refresh", "10"
    >>
    >>But I am coming to this page from link with parameter, and after page is
    >>refreshed parameter is lost, cause refresh is on server.
    >>If I use client refresh on page, screen is blinking and that is not what
    >>I want. I am doing client refresh with Java script command: document.refresh.
    >>Is there any way to pass parameter to server so, after refreshing I still
    >>have parameter for example with Request.QueryString("...").
    >>Also does somebody knows client refreshing command from ASP, cause maybe
    >>with ASP refresh page is not blinking(I am hoping).
    >>
    >>Thanks,
    >>Nenad Kermeci
    >>

    >



  5. #5
    Join Date
    Mar 2006
    Posts
    1
    Well Harish I will aprecciate it if you could send me the code too, I have the same problem ... I also need to refresh the page for a mobile IE 2003/2005 too ... any ideas are welcome

    My email is otsikan@yahoo.com

    Thanks in advance
    Olga



    [QUOTE=Harish Mohanbabu]Hi,

    I faced a similar requirement in one of the Intranet projects that I had
    worked on earlier. I managed to solve that using a combination of client
    side JavaScript and a little bit of XML. Using this, I managed to refresh
    the table data without re-loading the page completely.

    If you think this will help you, please let me know and I will send you the
    code. The caveat is I used XML Data Island in the page. This means this code
    will only work in IE as Data Island is sort of MS proprietory technology.

    Harish

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center