Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

Non-80 Port Number and Web Controls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
marksisson@gmail.com - 23 Oct 2005 18:41 GMT
I have an ASP.Net app running on localhost:9090.  When I add a button
to my test.aspx form the <form> tag gets to the browser has it's
action="test.aspx".  This obviously doesn't work because my application
is listening on port 9090 and not 80.

Shouldn't ASP.NET recognize the port that the application is running on
and adjust all links accordingly?  If not, how do you code around this?

TIA
mark
Peter Rilling - 23 Oct 2005 19:56 GMT
What do you mean "obviously doesn't work".  Seems to me relative URLs will
always go to the current domain and port.  What results do you get?  By the
way, it is the browser that sends the form or processes links.

>I have an ASP.Net app running on localhost:9090.  When I add a button
> to my test.aspx form the <form> tag gets to the browser has it's
[quoted text clipped - 6 lines]
> TIA
> mark

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.