PDA

View Full Version : Help! Mac/ASP Issues




bobbabuoy
May 14, 2004, 04:30 AM
I am beside myself on this one and I would certainly appreciate any help I can get!

I have a site that uses ASP and frames. Some (but not all) Mac users have trouble viewing the site with their IE browser but can view it with their Safari browser. I now have a user that can not view it correctly on his Mac with his Safari browser. I really need to get this figured out!

Here is what happens:
If a user has a Mac with an IE browser and they go to the site (http://www.cclog2.com) they see the home page fine. However if they make the necessary selections and try to log in, the login page comes up blank except for the header. You can demo this by selecting "Your School" in the school dropdown, "Both" in the gender dropdown, and "Coach" in the role dropdown. What you should see is a login screen. These users don't see that.

The one particular user that can log in on his Mac/Safari can get past this screen but then does not see the menu on the left. You can demo that by using the password 'demo' and the username 'lachlan.'

I realize the problem is probably in my asp and you can't view that. I can post that if need be but I am initially wondering if this sends up a red flag that someone can say "it is probably this ..."

Let me know if seeing the code is necessary.

Thanks!



robbieduncan
May 14, 2004, 05:51 AM
It may be as simple as the fact that your HTML is not valid! Check out the results here: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cclog2.com%2Fhome%2Flogin%2Flogin.asp&verbose=0

Grover
May 14, 2004, 06:51 AM
When I try this in IE 5.2.3 I end up stuck on /home/misc/redirect.asp with a blank frame as you describe.

I played with it a little and it looks to me as if IE doesn't like an empty form. I tried inserting a form element like this:



<form action="..." id="redirectForm" method="post" target="mainFrame">
<input type="submit" style="display: none;">
</form>

and that appeared to work correctly. I put a submit button there but it seemed to work fine with <input type="text">, as well.

Even if this doesn't turn out to be the problem, is there a reason that you're going to the trouble of loading a page and submitting it? Why not use Response.Redirect in your ASP code - that would bypass these kinds of browser incompatibilities.

I don't think it's related but you also shouldn't need the "javascript:" in this line: onload="javascript:document.getElementById('redirectForm').submit()"

D0ct0rteeth
May 14, 2004, 07:01 AM
I am beside myself on this one and I would certainly appreciate any help I can get!

I have a site that uses ASP and frames...

Thanks!

So your the guy who still uses frames. :)

Includes brother. Includes.