Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: auto-redirect ?
Buckaroo

From: Berwyn, PA USA
Posts: 13
Member Since: 06/17/03
posted November 8, 2011 11:41 AM

Hi. With the redirect property set to true,
the application submits a Post successfully and then receives a return status of 302 (Found) along with the following html (below).

Shouldn't the redirect be handled automatically?
Or am i missing something?
Any hints?

Many thanks,


<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/PowerPark/permission/sell.aspx?id=23076">here</a>.</h2>
</body></html>
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2011 2:27 PM

Hello,

What do you have in your headers?

Can you provide the URL you're accessing so we can test this?

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Buckaroo

From: Berwyn, PA USA
Posts: 13
Member Since: 06/17/03
posted November 9, 2011 9:48 AM

These are the headers:

Accept-Language: en-us
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Connection: Keep-Alive
Referer: https://frostburg.t2flextest.com/PowerPark/permission/sell.aspx?id=23076

Unfortunately, the site is protected from access other than from the customer URL.

Any hints based on the headers...?

Many thanks,
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 9, 2011 10:34 AM

Hello,

Automatic redirection requires a 'Location:' header that contains the redirection target. For more information, please see the wikipedia article: http://en.wikipedia.org/wiki/URL_redirection

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Buckaroo

From: Berwyn, PA USA
Posts: 13
Member Since: 06/17/03
posted November 9, 2011 10:51 AM

Hello and thanks for the followup.

The headers (below) are returned with the response, including Location:, but auto-redirect is still not occurring. Any other ideas?

Many thanks,

Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: /PowerPark/permission/sell.aspx?id=23076
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 09 Nov 2011 15:46:38 GMT
Content-Length: 157
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 9, 2011 5:27 PM

Hello,

While we look into this more, our Web Enterprise control may resolve this issue (isn't dependent upon wininet), and you may download a trial here to test with: http://www.dart.com/ptwbe.aspx

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 10, 2011 8:55 AM

Hello,

I'm unable to reproduce your issue. I posted to our included debug server, responding with the headers and content you provided, and the control does a get on the page it was redirected to. This behavior is consistent between wininet.dll and IE. Have you tested this with the included PageFetch or PostDemo samples? If you can send in a small, self-contained sample that demonstrates your issue into support@dart.com, we can then try to reproduce your issue.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX