473,508 Members | 2,303 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SmartNavigation and Redirect Problems

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


Nov 18 '05 #1
5 3709
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.

"Dagong Wang" <da*********@uiowa.edu> wrote in message
news:uB**************@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


Nov 18 '05 #2

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" <da*********@uiowa.edu> wrote in message news:uB**************@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


Nov 18 '05 #3
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" <no*****@this-is-extra-hotmail.com> wrote in message
news:Ow**************@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" <da*********@uiowa.edu> wrote in message
news:uB**************@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



Nov 18 '05 #4

Before we abandoned SmartNavigation; we had some scheme where this worked for some redirection problem, it's worth a shot.

Scott

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message news:%2****************@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" <no*****@this-is-extra-hotmail.com> wrote in message
news:Ow**************@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" <da*********@uiowa.edu> wrote in message
news:uB**************@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



Nov 18 '05 #5
Sorry, meant SmartNavigation.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:#o**************@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" <no*****@this-is-extra-hotmail.com> wrote in message
news:Ow**************@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" <da*********@uiowa.edu> wrote in message
news:uB**************@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


Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1530
by: Jan Heppen | last post by:
Hi, I'm having a problem with SmartNavigation. When I open up a new (popup) window using response.redirect on one of my web pages, the new window doesn't come on top the parent window. It goes...
1
1644
by: Heinrich Moser | last post by:
SmartNavigation is supposed to keep the page's last state in the browser history. As far as I can tell, it doesn't do that if you use Response.Redirect to change to another page. Steps to...
2
1771
by: SLE | last post by:
A web user control exposes a RadioButtonList (with AutoPostBack = true) called "Question". This control also has an embedded RequiredFieldValidator control. 1. Main ASPX page is populated with...
2
402
by: amiringo | last post by:
I have two problems after set this page directive... First, when I run the web application in my side(installed VS.NET) the page include that directive, it will redirect to the following address....
4
387
by: Dagong Wang | last post by:
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...
4
1491
by: Bobby | last post by:
Hi all... I rather confuse using smartnavigation in my web application because if I set the "smartnavigation = true" then If I run my app, then after I post page that page, using event...
3
1866
by: Nestus | last post by:
Hi, im developing a solution in ASP.Net, i have a page that i need to use the smartnavigation in true, the problem occurs when i put in the directive @Page SmartNavigation = true my page trhows a...
0
1331
by: Alfonso Alvarez | last post by:
Hi all: I have a problem with my webpage when I try to make a response.redirect and i have de smartnavigation option set true. If I put smartnavigation to false it works fine, but if I have...
2
1247
by: WJ | last post by:
I have a web site with 2 pages under W2k3 box (IIS-6). 1. From WebForm1.Aspx.Button1Click, I issued Response.Redirect("WebForm2.Aspx",true) - This works fine. 2. From WebForm2.Aspx.Button1Click,...
1
1289
by: Rafael Leonhardt | last post by:
I know that smartnavigation works on formpost. But I can to do smartnavigation works when I redirect to same page than post the page. Example: Actual page is "mainpage.aspx?param=xx" In a...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7382
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7042
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5052
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3193
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1556
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.