META HTTP-EQUIV="REFRESH" & IsPostBack

C

chortler

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

Any ideas??
 
G

Guest

If the request being refreshed is a postback then Ispostback would be true
each time.
 
V

vMike

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
 
V

vMike

vMike said:
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
 
C

chortler

Thanks for all your help. I'll go and investigate about adding a
querystring to the code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top