Forum Moderators: open
I have a client who has his own domain. let's call it: www.pretend_guy.com - when he types that in, the server automatically redirects it to the page of his company, where his name and stats are displayed.
Let's pretend the url for the redirect page is:
[pretend_company.com...]
now.. if I type that url in directly into the browser, IE displays the record fine, as does Firefox - however.. if I type in www.pretend_guy.com - the server redirects to www.pretend_company.com/contact.asp page.. but then <POOF> when it comes time to show the stuff from the database I get this:
ADODB.Field error '80020009'Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/contact.asp, line 0
BUT - ONLY if I type in www.pretend_guy.com in Internet Explorer.. If I type www.pretend_guy.com into FIREFOX .. the server redirects to the pretend_company page.. and displays EVERYTHING totally fine
When you get the error in Internet Explorer - all I have to do is Refresh the page.. and the error magically goes away showing all the data on the pretend guy in question.
further info that may help is - both pretend_guy.com and pretend_company.com are on the same server.
oh.. and it goes without saying that there IS a record, and there is a trap which tells it to display a default file if the "dispWho= " query string in the url is empty
is this something to do with my #bookmark in the url? is that confusing the heck out of IE when it's a server redirect? Should I just put an index file in pretend_guy.com's folder with an html meta-equiv redirect in it?
I thank anybody for any insight they may have for me on this wierd problem
cheers
stratus
ok.. on a brainstorm, I removed the #bookmark from the end of the forward URL that the server was using - and now it works just fine in IE and Firefox.
But I still don't understand why? Both browsers would let me view the page if I typed in the pretend_company.com/contact.asp?query=pretendguy#bookmark directly into the address bar, similarly, if I clicked that url from an email, no probem in either browser.. it was just the server redirect from pretend_guy.com that was giving me an ASP error.
Why on earth would a bookmark effect the display of an ASP page in only 1 browser... isn't the page rendered in the server before sending it off to the browser? or am I confused (highly possible)
?
thanks folks!
Stratus