Logon Page not using complete URL

T

tshad

If you go to a secured page and have not logged in, I go to the Logon page
defined in my Forms Authentication fields in my web.config.

But I am only getting the first parameter in it.

For example:

http://www.staffstage.com/employer/secure/JobReviewApproved.aspx?pid=295&swrp=1

will get me.

http://www.staffstage.com/employer/.../secure/JobReviewApproved.aspx?pid=295&swrp=1

The problem is that request("ReturnURL") =
/employer/secure/JobReviewApproved.aspx?pid=295.

It has dropped the "&swrp=1". I assume this is because it thinks this is
another parameter.

After I do my validation, I then redirect to the page requested:

response.redirect(request("returnURL"))

But as has been seen, it is not complete.

How is this normally handled?

Thanks,

Tom
 

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,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top