• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
Fredledingue

Can't open ASPX web pages

9 posts in this topic

I can't open an ASPX web pages on w98, and to my great frustration I can on the Vista machine.

I'm using Maxthon 2.1.5 + IE6.1 + MDIE6CU + all the important w98se updates.

I tried with Maxthon and with IE alone, with different security settings to no avail.

The page must open via the "submit" method just like you submit a form to an asp or php page. But the browser doesn't seem to send the form datas, or it ignores the submit command, or it doesn't know what aspx is.

I don't know.

It's the first time in my life I can't open an internet page on my w98se machine.

Maybe I should try FireFox. What do you think?

I can't post the link here because it's a secure domain and you won't be able to use the form to test it anyway.

0

Share this post


Link to post
Share on other sites

Is this any ASPX anywhere, like multiple websites? Typically ASPX is handled server-side like PHP and HTML code given to the browser.

0

Share this post


Link to post
Share on other sites

No it's only this aspx page. Here is the link: https://deklaravimas.vmi.lt/InternetAuth.aspx.

If I click this link like that it opens in a matter of milliseconds just like any other aspx page.

But of course it won't show me anything of value, just an message from the website itself that it hasn't enough informations to proceed (of course).

But when the browser tries to sent form datas to this aspx page via "submit" button (see code sample below), IE fails to do anything at all and nothing appears.


<form action="https://deklaravimas.vmi.lt/InternetAuth.aspx" method="post" name="packetForm">
<input name="TYPE" type="hidden" value="BANK">
<input name="PERSON_FNAME" type="hidden" value="FREDERIC">
<input type="submit" value="submit">
</form>

0

Share this post


Link to post
Share on other sites
No it's only this aspx page. Here is the link: https://deklaravimas.vmi.lt/InternetAuth.aspx.

If I click this link like that it opens in a matter of milliseconds just like any other aspx page.

But of course it won't show me anything of value, just an message from the website itself that it hasn't enough informations to proceed (of course).

But when the browser tries to sent form datas to this aspx page via "submit" button (see code sample below), IE fails to do anything at all and nothing appears.


<form action="https://deklaravimas.vmi.lt/InternetAuth.aspx" method="post" name="packetForm">
<input name="TYPE" type="hidden" value="BANK">
<input name="PERSON_FNAME" type="hidden" value="FREDERIC">
<input type="submit" value="submit">
</form>

This may have to do with their server-side scripts.

I don't think it has anything to do with the aspx file extension, like Tripredacus said.

They may have blocked IE 6.xx/older from accessing their secure [https protocol] server as a security measure. [?]

Have you tried to access those web pages using Firefox or Opera?

It may work, if their server-side scripts allow those browsers.

HTH

BTW...

aspx is used on servers running usually MS Windows 200x Server + IIS 5/6 + Active Directory.

asp = http [default (insecure) hypertext protocol]

aspx = https [secure hypertext protocol]

0

Share this post


Link to post
Share on other sites

Issues like these with ASP-generated web pages are usually caused by web browser sniffing by the ASP framework. If it doesn't recognise your user agent string then for some reason it doesn't include the PostBack JavaScript function that makes the form work. If you use SeaMonkey or Firefox you can easily verify this with the Error Console. There'll be an entry like: "__PostBack is not defined".

I've actually been on the phone with an online store about this issue, but of course the problem is always with the customer's computer. I had to claim that I'm a professional web developer (which I pretty much am, minus a pay check) to get the guy on the other side to accept that maybe it wasn't my configuration's fault. I asked to pass the issue on to the web development team, but he probably never did. *sigh*

I solved my problem temporarily on that site by temporarily changing my user agent string to Firefox'.

Edited by BenoitRen
0

Share this post


Link to post
Share on other sites

What's the PostBack javascript function. AFAIK all you need is the submit button. In fact you can create a form without any javascript. Proof is that you can fill and send a form with javascript disabled (except when it's intentionaly designed not to work without javascript but that's an additional complication).

I was skeptical because the browser reacted as it didn't send the infos at all.

0

Share this post


Link to post
Share on other sites

I'm sorry to say, this page is coded very badly! Take this for example starting on line 294:

<span id="lblForInternetAuthUsers"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1257">
<META content="MSHTML 6.00.2900.2838" name=GENERATOR></HEAD>
<BODY>Šis puslapis yra skirtas tik vartotojams, sudariusiems
sutartį AVMI teritoriniame skyriuje ir autentifikuojantiems vidinėmis EDS
priemonėmis. Jeigu esate <A class="linkInText" href="http://deklaravimas.vmi.lt/Bank_Auth.aspx">internetinės bankininkystės vartotojas</A>, prašome jungtis per savo banko
sistemą.</BODY></HTML></span>

Plus, it looks like the entire page is inside of a FORM element! Who would do this? The form opens on line 19 and ends on line 328. And this is not what you want to see on a page either:

<!--<a href="ShowVersion.aspx" target="_blank">Versija</a>-->

And to think that this is the server generated code. I bet the real source is even worse! :wacko:

0

Share this post


Link to post
Share on other sites

I noticed already that lithuanians are not the best coders in the world.

But this is indeed uncomprehensible. LOL.

I changed the user agent to IE7: It didn't solve this specific problem but javascripts seem to work a bit faster in general (on other websites).

0

Share this post


Link to post
Share on other sites
What's the PostBack javascript function.

It's a JavaScript function that ASP-generated web pages typically have to validate form information' date=' send it to the server, and change the page accordingly. This way the web browser doesn't have to load a new page with the result of the form info.

In short, it makes web pages interactive.

AFAIK all you need is the submit button. In fact you can create a form without any javascript.

Yes, but a form needs to have a destination address in advance to transfer to when the form is submitted. Using the method I described above negates this.

I was skeptical because the browser reacted as it didn't send the infos at all.

The form is coded to call the PostBack JavaScript function on form submit. This function wasn't found, so the entire process was halted. The form information is not sent.

Tripredacus, that's ASP for you. ;)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.