This could be a trivial question. But has some doubts in the below scenario.
- I have a master logout, and this master logout has to call multiple individual logout pages.
- These individual logout pages has to be called in the background.
- Some of the individual logout pages can redirect to master logout (very rare, could be due to a programming mistake). But just want to consider it as failure scenario.
To achieve this, a. I added hidden img tags to MasterLogout.html b. And src attribute of each of this img tag is pointing to teh logout pages, say img tag's src is src="http://testapp1.abc.com/logout.html" say img tag's src is src="http://testapp2.abc.com/logout.aspx"
c.Based on my observation form HTTP header trace, logout URL's in src tag are being called, and I see some response codes 200, 302 etc., d. Also the logout functionalities is working well.
However I have the below doubts, need inputs on below.
Q1. How does img tag behave when its src is pointed to any html etc other than img. Does throw an error to browser? Can it cause any rendering issues to UI in any browseres etc ( IR, firefox, chrome didnt show any issues in my observations so far).
Q2. when the individual logout page gives a response of 302, is this reidrect reponse followed by the browser? ( I didnt see any redirections are HTTP trace, but want to know about the behaviour in diff browsers or any special cases that could cause an issue here
Thanks, Malli.