R
Rob R. Ainscough
I'm using a single Master page.
I'm having some strange results using Redirects in master pages using
relative pathing i.e ~. I'm using Form authentication and whenever I
navigate to my Login form (under a different dir called Secure) and then
navigate back to my main form under root dir and then try to navigate to
another form at the root dir level, it will look for the aspx page under the
"Secure" dir rather than my root dir??
example (navigation route):
MyWeb/Main.aspx --> ~/Secure/Login.aspx --> MyWeb/Main.aspx -->
MyWeb/PrivaceyPolicy.aspx
what actually happens
MyWeb/Main.aspx --> ~/Secure/Login.aspx --> MyWeb/Main.aspx -->
MyWeb/Secure/PrivaceyPolicy.aspx
As soon as I navigate to my /Secure/Login.aspx all my pathing in redirects
seem to get the dir "Secure" injected into the path?? I've tried using ~/
but that results in MyWeb/~/PrivaceyPolicy.aspx.
Any suggestions?
Rob.
I'm having some strange results using Redirects in master pages using
relative pathing i.e ~. I'm using Form authentication and whenever I
navigate to my Login form (under a different dir called Secure) and then
navigate back to my main form under root dir and then try to navigate to
another form at the root dir level, it will look for the aspx page under the
"Secure" dir rather than my root dir??
example (navigation route):
MyWeb/Main.aspx --> ~/Secure/Login.aspx --> MyWeb/Main.aspx -->
MyWeb/PrivaceyPolicy.aspx
what actually happens
MyWeb/Main.aspx --> ~/Secure/Login.aspx --> MyWeb/Main.aspx -->
MyWeb/Secure/PrivaceyPolicy.aspx
As soon as I navigate to my /Secure/Login.aspx all my pathing in redirects
seem to get the dir "Secure" injected into the path?? I've tried using ~/
but that results in MyWeb/~/PrivaceyPolicy.aspx.
Any suggestions?
Rob.