Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

POST redirect, not posting or redirecting in production

Status
Not open for further replies.

ashstampede

Programmer
Aug 30, 2004
104
GB
MY asp.net application is not redirecting on post.
I have a order page that on click redirects to a payment gateway for validation and such.

When i am debugging nothing goes wrong, the application redirects to the payment gateway and process fine. In production it does nothing but reload on the order page.

The only difference i can think of is that on the production server it is a https connection and debug straight http.

If anyone can help with some suggestion as why this might be the case, i really appriciated since at the moment i can't make any sales.
 
can i have some code???

Known is handfull, Unknown is worldfull
 
I have had a similar thing happen in the past were the system worked fine on development machine but would not work on the server. In my case the cause was that the click event was not being attached to the event handler on the production pc, not sure why.

The way I got around this was to specifically attach the event handler in the page_load event.

i.e.
Code:
this.lnkMyButton.Click += new System.EventHandler(lnkMyButton_Click);

I'm not saying this is the same problem you have but worth looking into.

HTH

Smeat

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top