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: Webtool and CSS
Salama

From: Portland, OR USA
Posts: 21
Member Since: 05/01/00
posted April 28, 2004 12:53 PM

I am having an issue with webtool and a certain site.
The site claims that my browser doesn't support css. This is the site:
https://manage1.sprintpcs.com/Manage (note it's using ssl). The html source of the resulting page has a note about css not being supported by my browser.

Note that the html output is the same one that comes from that site if visited without ssl.
If you view the html in IE it's the same real page but without the login form.

I am using an IE6 useragent. I am not sure how they detected and claimed that webtool doesn't support CSS.

Any ideas?

Salama
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 28, 2004 1:14 PM

I am unable to confirm this. I used the pagefetch sample to get the url you specified. The HTML I received is the same that I receive if I use IE.

Please tell me how to see the problem.
Salama

From: Portland, OR USA
Posts: 21
Member Since: 05/01/00
posted April 28, 2004 1:33 PM

I didn't use pagefetch. This is my VB code:

Http1.UserAgent = "Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+1.0.3705)"
 Http1.Url = "https://manage1.sprintpcs.com/Manage"
  Http1.Cookies = True
  Data = ""
  Http1.Get Data
  
  sHtmlFileName = "c:\a_sprint\firstscreen.html"
  Open sHtmlFileName For Output As #1
    Print #1, Data
  Close #1
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 28, 2004 1:39 PM

What happens if you use PageFetch?
Salama

From: Portland, OR USA
Posts: 21
Member Since: 05/01/00
posted April 28, 2004 2:02 PM

Pagefetch does the same thing. I used the pagefetch sample and it has the same problem.

The page you get is similar to the one from IE but it's missing the login form.

Search for 'password' in both cases in the source, it's there when viewed with IE but missing in Webtool. That's because the form is missing.

Also look at the html source with webtool, you'll find this statement which is not present when viewing with IE:

"This site was designed with Cascading Stylesheets for layout & design. You are seeing this note either because those Stylesheets didn't reach your machine or because you are using an outdated browser............"
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 28, 2004 2:17 PM

The text you mention appears in both pages. It's a script. Just because it is in the source does not mean it is being executed.

Using Pagefetch, I copied all of the data to a notepad and saved it as test.html. Then I loaded test.html in IE. It looks identical to the original.

Is there something else I need to do to see the problem?
Salama

From: Portland, OR USA
Posts: 21
Member Since: 05/01/00
posted April 28, 2004 2:44 PM

You're right about the statement in both. I didn't notice it. I went into the pagefetch app and noticed it used security = 0 and when I add that to my app, it worked. My app used to work before but I don't know why this property is needed now.

Thanks for your help.

Salama
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 28, 2004 2:57 PM

Maybe the Certificate expired? Or you no longer trust it?
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX