Could someone please verify or provide guidance?
I'm using Response.Redirect from a VB server-side function, and while it behaves as expected (the new location is shown), I've noticed that the previous page remains in the Sources Page Tab. I expected it to no longer be present since the page should have been replaced after redirection.
Additionally, when I perform the redirection client-side (via <a href>), the redirecting page is removed from the Sources list and replaced with the new location as expected. Despite trying various modifications and different server-side redirection methods, I'm unable to remove the previous page from the list, and it persists until I end the session or close the developer tools.
For context, I've reproduced this issue using a simple two-page ASPX (server side response.redirect back and forth from button click) sample with no additional files and a basic web.config under .NET 4.8, demonstrating that there's no external influence involved.
Any ideas? Are these legacy files actually an issue?
--
You received this message because you are subscribed to the Google Groups "Chrome DevTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/6c5c2ff5-96dc-466c-8272-4fd9ea7dda02n%40googlegroups.com.
Hello, and thank you.
To answer your question, it's a bit of both. I've been experiencing issues where the pages remaining in the sources tab don't always react as expected upon revisiting, and keeping them in the sources tab likely consumes overhead. Strangely, this issue wasn't always the case. Previously, the redirection would happen, and the new page would be the only one remaining. This still happens today, but now I have to do a full post back for it to work. Any kind of update panel usage or partial async, and the page remains. I can work around but feel that its not as clean left as it is.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/5b834ef4-ab10-4506-b71e-40ecc9547dcan%40googlegroups.com.