Redirect problems
Karen Healey <[email protected]> Wed, 19 Jun 2002 15:13:35 -0700
| Newsgroups | gmane.comp.windows.devel.dotnet.general |
|---|---|
| Message-ID | <DOTNET%[email protected]> |
Hi,
I have relative redirects in my code like this:
Response.Redirect("~/DesktopDefault.aspx?tabindex=" + tabIndex + "&tabid="
+ tabId + "&menuid=" + menuItem.MenuItemId.ToString() + "&menuindex=" +
menu.SelectedIndex);
Before the redirect the URL was this:
http://d45723.u26.acomhosting.com/DesktopDefault.aspx
After I click on one of the tabs, the relative redirect occurs and I get
this:
http://desktopdefault.aspx/?tabindex=1&tabid=2
Which is of course, invalid since it is missing d45723.u26.acomhosting.com/
I suspect that there is some server setting that is wrong. I don't want
to change all my redirects especially since thats a temporary site until
we go to www.mgsc.org.
Thanks,
Karen Healey
[email protected]
(508) 473-1218
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.