IsPostBack for ASP

S

Seb

Hello,

Is there the IsPostBack command in ASP (not ASP.net) ?
Or How can I detect a refresh in a ASP page ?


Thanks

Sebastien
 
M

Mike

No, and can't remember for the life of me.


try the microsoft.public.inetserver.asp.general newsgroups, someone in there
may know.
 
M

Mark Rae [MVP]

Is there the IsPostBack command in ASP (not ASP.net) ?
Or How can I detect a refresh in a ASP page ?

You're in the wrong newsgroup - this one if for ASP.NET...

For ASP Classic questions, please post in
microsoft.public.inetserver.asp.general
 
B

bruce barker

<%@ language="javascript" %>
<%
if (Request.Form["isPostback"] != null) Response.Write('postback');
%>

<form action="thispage.asp" method="get">
<input type="hidden" name="isPostback value="1" >
</form>


-- bruce (sqlwork.com)
 
C

Cowboy \(Gregory A. Beamer\)

Seb said:
Hello,

Is there the IsPostBack command in ASP (not ASP.net) ?
No

Or How can I detect a refresh in a ASP page ?

Check the form collection of the Request object (Request.Forms). If not a
postback, it will be empty.
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top