Click to See Complete Forum and Search --> : Refresh same page automaticaly on server with parameters!
Nenad Kermeci
09-15-2002, 03:39 PM
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
Harish Mohanbabu
09-16-2002, 12:18 PM
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
>
thiruthanikan
09-17-2002, 01:03 AM
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
>
Nenad Kermeci
09-17-2002, 09:10 AM
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
>>
>
otsikan
03-23-2006, 10:22 AM
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
devx.com
Copyright Internet.com Inc. All Rights Reserved