FormsAuthentication.RedirectFromLoginPage Leaving Part of the QueryString In HTML Output

R

Ryan

I have an aspx form using:

FormsAuthentication.RedirectFromLoginPage("LoginName", False) When the
form is browsed to for the VERY first time, instead of redirecting the
user to the original URL, the last bit of the query string string
appears at the top of the login page along with:

i.e. If my user is
localhost/myloginpage/myloginpage.aspx??APP=ThisApp&RAMBLINGS=
dsajfklasdjfkasdhfjkasdhfjklhasdjkfhjsdafadsjfklsd;ajfklasdjfklasdjfkljasdkl;fjkasdl;jfklasdjfklsdajfklasdjfklasdjfklasdjfklsdjaklfjsdaklfj;fjklasdjk;jklasdjfklasdjfklasdjfkladjsk;Effffffdsar

The following will appear at the top of my login page (SOURCE) when
redirect is called:


lasdjfklasdjfkladjsk;Effffffdsar'>here</a>.</h2>
</body></html>
---The rest of my login page-----

The piece visible in the browser winder is:

asdjfklasdjfkladjsk;Effffffdsar'>here.

If I go back to the page or refresh everything works fine. What is
happening?

Thanks,
Ryan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top