-
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
-
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
>
-
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
>
-
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
>>
>
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks