I had implemented urlrewritingnet successfully but after adding forms
authentication, none of the login controls work on the rewritten
pages.
<add name="Keyword" virtualUrl="^~/(.*)"
rewriteUrlParam eter="ExcludeFr omClientQuerySt ring"
destinationUrl= "~/results.aspx?Ke yword=$1"
ignoreCase="tru e" />
On page results.aspx, the loginstatus control incorrectly shows
"login" although the user is, indeed, logged in. The same is true for
the loginname control. I had also tried to write vb code with an "if
User.IsAuthenti cated" but it threw "object reference not set to
instance of an object" at that line.
Any advice? Thanks, Bradley
authentication, none of the login controls work on the rewritten
pages.
<add name="Keyword" virtualUrl="^~/(.*)"
rewriteUrlParam eter="ExcludeFr omClientQuerySt ring"
destinationUrl= "~/results.aspx?Ke yword=$1"
ignoreCase="tru e" />
On page results.aspx, the loginstatus control incorrectly shows
"login" although the user is, indeed, logged in. The same is true for
the loginname control. I had also tried to write vb code with an "if
User.IsAuthenti cated" but it threw "object reference not set to
instance of an object" at that line.
Any advice? Thanks, Bradley
Comment