Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

IsPostBack for ASP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Seb - 03 Oct 2007 19:59 GMT
Hello,

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

Thanks

Sebastien
Mike - 03 Oct 2007 20:14 GMT
No, and can't remember for the life of me.

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

> Hello,
>
[quoted text clipped - 4 lines]
>
> Sebastien
Mark Rae [MVP] - 03 Oct 2007 20:15 GMT
> 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

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

bruce barker - 03 Oct 2007 21:15 GMT
<%@ 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)

> Hello,
>
[quoted text clipped - 4 lines]
>
> Sebastien
Cowboy (Gregory A. Beamer) - 03 Oct 2007 21:23 GMT
> 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.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************

| Think outside the box!

*************************************************

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.