Re: Postback in Firefox and IE




Does having a querystring makes a request a new request each time it is
posted back?


"Grant Merwitz" wrote:

> Now thats a wierd one.
> Just to test, does
> if(!Page.IsPostBack)
>
> behave differently
>
>
> "Diffident" <Diffident@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:3CA43623-F385-4985-A26C-2C229CE9D0DC@xxxxxxxxxxxxxxxx
> > Hello All,
> >
> > I have a piece of rudimentary code which is behaving differently in
> > different browsers.
> >
> > if(!this.IsPostBack)
> > {
> > //execute some code
> > }
> >
> > This piece of code is being executed for the very first time and also each
> > time a page is posted back to the server on firefox and netscape
> > navigator.
> > But in IE it is behaving properly.....i.e., it is executing this piece of
> > code only for the very first time and for post backs this code is not
> > being
> > executed which is what I want the program to do.
> >
> > How come this code is being executed each and every time in firefox and
> > navigator? Is there any technique using which I can force all the browsers
> > to
> > execute this code only once?
> >
> > Thanks for your help!!!
>
>
>
.



Relevant Pages

  • Re: W2K3 IIS 6.0 ASP.NET Requests Per Second Limits?
    ... >> The way I understand async programming is if u need to do other ... >> request to webservice nothing more can be done until the result ... > The thread executing code literally calls into Function1, ... > the act of sending back the response using data that has been ...
    (microsoft.public.inetserver.iis)
  • Re: DBD ODBC question - $dbh->{odbc_exec_direct}
    ... because they're doing nothing but executing more ... Request was not opened or has been closed. ... Force DBD::ODBC to use SQLExecDirect instead of SQLPrepare() then ...
    (perl.dbi.users)
  • Re: Heres a silly question
    ... original REXX Source code can not easily be read. ... execs readable only if the program doing the reading is the EXEC command ... written to a request file (obviously the user executing the dialog needed to ...
    (comp.lang.rexx)
  • Re: Need to break a while..
    ... finished the default behavior is for PHP to abort the script. ... I solved the problem with an <iframe> and a small file, ... No, once you execute a request, you cannot "inject" additional values ... to the executing script on the fly. ...
    (comp.lang.php)
  • Re: Why does Python never add itself to the Windows path?
    ... will work if you type "setup.py install" but not if you type "python ... but if you try executing "firefox" at the command ... Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! ...
    (comp.lang.python)