Discussion:
SmartNavigation and Redirect Problems
(too old to reply)
Dagong Wang
2004-04-20 15:53:43 UTC
Permalink
Hi,

I have an ASP.NET application that works fine in my testing server. However,
when I uploaded it into a hosting server, page SmartNavigation option and
server side redirection, such as FormsAuthentication.RedirectFromLoginPage,
quit working. They told me to recompile the code there, and it did not solve
these issues.

Do you have any clue what might cause the difference?
Thank you very much.

Dagong
Peter Rilling
2004-04-20 17:09:11 UTC
Permalink
Microsoft does not document the behavior of SmartNavigation very well.
Don't know if this is your problem, but SmartNavigation uses a hidden
iframe. When you submit the form, you are actually submitting the iframe.
When the page returns, the DOM is copied to the page that you are viewing.
Post by Dagong Wang
Hi,
I have an ASP.NET application that works fine in my testing server. However,
when I uploaded it into a hosting server, page SmartNavigation option and
server side redirection, such as
FormsAuthentication.RedirectFromLoginPage,
Post by Dagong Wang
quit working. They told me to recompile the code there, and it did not solve
these issues.
Do you have any clue what might cause the difference?
Thank you very much.
Dagong
Scott
2004-04-20 17:26:39 UTC
Permalink
There a fair number of problems with SmartNavigation; especially with redirections, I would try turning it off just prior to your redirects:

Page.SmartNavigation = false;

Scott

"Dagong Wang" <dagong-***@uiowa.edu> wrote in message news:***@TK2MSFTNGP10.phx.gbl...
Hi,

I have an ASP.NET application that works fine in my testing server. However,
when I uploaded it into a hosting server, page SmartNavigation option and
server side redirection, such as FormsAuthentication.RedirectFromLoginPage,
quit working. They told me to recompile the code there, and it did not solve
these issues.

Do you have any clue what might cause the difference?
Thank you very much.

Dagong
Peter Rilling
2004-04-20 20:18:38 UTC
Permalink
I have been told that once you turn SmartArchive on, you cannot turn it off
programmatically because all interaction with the server happens through an
iframe, not the main page.

"Scott" <***@this-is-extra-hotmail.com> wrote in message news:***@TK2MSFTNGP11.phx.gbl...

There a fair number of problems with SmartNavigation; especially with
redirections, I would try turning it off just prior to your redirects:

Page.SmartNavigation = false;

Scott

"Dagong Wang" <dagong-***@uiowa.edu> wrote in message news:***@TK2MSFTNGP10.phx.gbl...
Hi,

I have an ASP.NET application that works fine in my testing server.
However,
when I uploaded it into a hosting server, page SmartNavigation option and
server side redirection, such as
FormsAuthentication.RedirectFromLoginPage,
quit working. They told me to recompile the code there, and it did not
solve
these issues.

Do you have any clue what might cause the difference?
Thank you very much.

Dagong
Scott
2004-04-20 21:01:47 UTC
Permalink
Before we abandoned SmartNavigation; we had some scheme where this worked for some redirection problem, it's worth a shot.

Scott

"Peter Rilling" <***@nospam.rilling.net> wrote in message news:%***@TK2MSFTNGP09.phx.gbl...
I have been told that once you turn SmartArchive on, you cannot turn it off
programmatically because all interaction with the server happens through an
iframe, not the main page.

"Scott" <***@this-is-extra-hotmail.com> wrote in message news:***@TK2MSFTNGP11.phx.gbl...

There a fair number of problems with SmartNavigation; especially with
redirections, I would try turning it off just prior to your redirects:

Page.SmartNavigation = false;

Scott

"Dagong Wang" <dagong-***@uiowa.edu> wrote in message news:***@TK2MSFTNGP10.phx.gbl...
Hi,

I have an ASP.NET application that works fine in my testing server.
However,
when I uploaded it into a hosting server, page SmartNavigation option and
server side redirection, such as
FormsAuthentication.RedirectFromLoginPage,
quit working. They told me to recompile the code there, and it did not
solve
these issues.

Do you have any clue what might cause the difference?
Thank you very much.

Dagong
Peter Rilling
2004-04-21 16:17:47 UTC
Permalink
Sorry, meant SmartNavigation.
Post by Peter Rilling
I have been told that once you turn SmartArchive on, you cannot turn it off
programmatically because all interaction with the server happens through an
iframe, not the main page.
There a fair number of problems with SmartNavigation; especially with
Page.SmartNavigation = false;
Scott
Hi,
I have an ASP.NET application that works fine in my testing server. However,
when I uploaded it into a hosting server, page SmartNavigation option and
server side redirection, such as
FormsAuthentication.RedirectFromLoginPage,
quit working. They told me to recompile the code there, and it did not solve
these issues.
Do you have any clue what might cause the difference?
Thank you very much.
Dagong
Loading...