IsPostBack going from a 2.0 site to a 1.1 page

C

Cameron Eckman

I have a ASP.NET page in a site running in 1.1 framework. The page takes
submissions of forms from other sites on the same server to prepopulate some
of the items in it.

If the posting site is ASP or ASP.NET 1.1, the IsPostBack property is
false when the 1.1 page is first loaded.
If the posting site is ASP.NET 2.0, the IsPostBack property is true when
the 1.1 page is first loaded.

Is this normal behavior or is there some 2.0 setting to prevent this?


My workaround for now is:

if ((this.Request.Url != this.Request.UrlReferrer) && (!
this.IsPostBack))
//code to excute


Thanks in advance.
 

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,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top