Question Locked

Dynamically generated URL could not be opened in FireFox

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

* I have a code that generate form dynamically (form on a webpage is generated through code).
The action attribute is set to 'TestMyPage.ashx'.
When run, this URL is opened successfully in IE.
* But when same value ('TestMyPage.ashx') is set for action attribute for FireFox, it do not load the said page.
* When checked, for FireFox it loads the page only when it is prefixed with protocol, host and virtual directory information, like

"protocol://localdomain/virtualdirectory/pagename.ashx"
Example:
"http://localhost:8795/myapp/TestMyPage.ashx"

This url is successfully loaded by FireFox.
But I don't want to set those prefixes (protocol, host, virtual dir.) myself.

When searched on, it found that FireFox should also behave like IE in this case. So I could not guess what is the problem for such behaviour in my application (Is it because the form is generated dynamically?..)

Any suggestion is welcome...

Thank you.

Ashish
Software Engineer, Pune

1 reply

This discussion is closed to new replies.