473,500 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

META HTTP-EQUIV="REFRESH" & IsPostBack

When I use the meta tag to refreh my asp webpage, it doesn't change
Ispostback to false; It always equals true?

Any ideas??

Nov 19 '05 #1
5 2276
Because it is not a post. It is still just a GET of the page.

<ch******@fetchmail.co.uk> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
When I use the meta tag to refreh my asp webpage, it doesn't change
Ispostback to false; It always equals true?

Any ideas??

Nov 19 '05 #2
If the request being refreshed is a postback then Ispostback would be true
each time.

"ch******@fetchmail.co.uk" wrote:
When I use the meta tag to refreh my asp webpage, it doesn't change
Ispostback to false; It always equals true?

Any ideas??

Nov 19 '05 #3

<ch******@fetchmail.co.uk> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
When I use the meta tag to refreh my asp webpage, it doesn't change
Ispostback to false; It always equals true?

Any ideas??

Not sure what you are trying to do but you can add a querystring to your
meta refresh that you can detect server side to know that it was the result
of the meta refresh and not a "new" request. You would also have to make
sure you can detect old meta refreshes that someone bookmarked.
Mike
Nov 19 '05 #4

"vMike" <Mi************@spamnotgewarren.com.delete> wrote in message
news:bF***************@newsread3.news.atl.earthlin k.net...

<ch******@fetchmail.co.uk> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
When I use the meta tag to refreh my asp webpage, it doesn't change
Ispostback to false; It always equals true?

Any ideas?? Not sure what you are trying to do but you can add a querystring to your
meta refresh that you can detect server side to know that it was the

result of the meta refresh and not a "new" request. You would also have to make
sure you can detect old meta refreshes that someone bookmarked.
Mike

Another approach is javascript using setTimeout and window.location along
with an added querystring you can detect serverside.
Mike
Nov 19 '05 #5
Thanks for all your help. I'll go and investigate about adding a
querystring to the code.

Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
3832
by: AES/newspost | last post by:
On many web sites or pages (including my own home page) clicking on certain links will start downloading a PDF file, sometimes without the author having provided any warning in the text of the page...
2
1988
by: Bill Cohagan | last post by:
I'm trying out ASP.Net and am currently trying to figure out how to refresh the contents of one frame based on a button click in another frame. The button in question is actually a server side...
6
1770
by: Pealy | last post by:
Hi. I'm trying to get one of the examples from ASP.NET 1.1 Insider Solutions to work in asp.net and i'm getting stuck on using the META tage to do a refresh. I have the following in my HTML...
1
4393
by: David | last post by:
how can I force the "document.execCommand("Refresh");" command to refresh page only one time?
2
3785
by: ujjc001 | last post by:
For some reason I can't Response.AppendHeader("Refresh", Convert.ToString((Session.Timeout * 60) + 60) & "; URL=default.aspx") to add the tag into the header. In the source the refresh header is...
1
3241
by: IkBenHet | last post by:
Hello, Currently I am using a large input form on a website that is based on ASP and JavaScript. Depending on the values that are filled in by the user the forms does a refresh and makes...
4
4455
by: simon | last post by:
hello, i have a section of a page that has multiple dropdowns. each dropdown calls the same method on a change of selection by the user. the method loops over all the dropdowns and if the newly...
5
3222
by: Jeremy | last post by:
Hi all, I have database actions that will potentially take several seconds to complete. My normal page uses AJAX so keeping the user informed of what is happening is not a problem. ...
4
2530
by: Simon | last post by:
Dear reader, If I change the content of a field in an event procedure and in the same procedure I do a refresh, the refresh has no effect. The code in the event is as follows:
5
7788
by: tabariz | last post by:
Hello everybody can anyone tell me whats the correct syntax to add a variable previously declared to the url in the command header("refresh: 5, url:) for example i want my URL to be ...
0
7136
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7018
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7182
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7232
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5490
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.