Response.Redirect NOT causing roundtrip to client, ideas? help?

P

Peter Row

Hi,

BACKGROUND:
I have a VB.NET DLL that implements IHttpHandler.
I also have a guestlogin.aspx page which is call by FormsAuthentication.
For my app .ASP files are mapped to ASP.NET (for app legacy reasons, no
actual ASP is used).

The guestlogin.aspx after:
FormsAuthentication.SetAuthCookie(strUserID, false)

does a:
Response.Redirect(FormsAuthentication.RedirectUrl.....

For some reason the redirect is happening internally instead of doing a
round
trip to the client. Hence cookies that I set get lost which screws
everything up.

HOWEVER... it only goes wrong when I am running against the debug or release
compiled DLL if I run it in debug through the IDE it works fine.

Regards,
Peter Row
 

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

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top