About LogOn.aspx?rp= querystring
-
<a href="http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx">http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx</a>[<a href="http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx" target="_blank" title="New Window">^</a>] As you can see when i click sign in button at the top, that page is using the rp(requested page something like this) querystring. But if i enter the wrong password (i didnt try the email but i think that should same) rp querystring is getting more longer. If i click 10 times it should like 20-30 lines in here... fyi
-
<a href="http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx">http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx</a>[<a href="http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx" target="_blank" title="New Window">^</a>] As you can see when i click sign in button at the top, that page is using the rp(requested page something like this) querystring. But if i enter the wrong password (i didnt try the email but i think that should same) rp querystring is getting more longer. If i click 10 times it should like 20-30 lines in here... fyi
-
<a href="http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx">http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx</a>[<a href="http://www.codeproject.com/script/Membership/LogOn.aspx?rp=%2Fscript%2FMembership%2FLogOn.aspx%3Frp%3D%252fscript%252fMembership%252fLogOn.aspx%253frp%253d%25252findex.aspx" target="_blank" title="New Window">^</a>] As you can see when i click sign in button at the top, that page is using the rp(requested page something like this) querystring. But if i enter the wrong password (i didnt try the email but i think that should same) rp querystring is getting more longer. If i click 10 times it should like 20-30 lines in here... fyi
Is that a subtle hint that we need to optimise this a little? ;)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
-
And also this is not group account but my image is showng me group now. I changed my account type one time from settings and changed to member again. Is there any communicate problem settings between forums :)
Your account had been setup as a group. I've fixed that
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
-
Is that a subtle hint that we need to optimise this a little? ;)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
Unfortunately, i couldnt find a good solution. But i think its better(may be not :) ) than rawurl: Request.Path.Replace(Request.ApplicationPath, "") As you see we cannot keep the querystrings in here. It just keeps the last page. If you want to take back again your querystrings, you should write a new method for rp. Im working on same problem in my project :)