This answer is no longer valid.
No, it's not possible to do this because of security constraints. You need to handle those expired session IDs on the web application side - it's usually done with a redirect to the authentication page, most web frameworks should do this out of the box for you.
Related: Can the url for the "Add to home screen" on iPhone Safari be customized?