I have an application that forwards request to a secure domain on any wickets page that is marked with @RequireHttps
.
I am also appending a session ID to the URL in order to keep the sessionData on the secure URL.
I am listening for any session, and then replcing the sessionID in the cookie with the one passed in.
I have tested my logic locally using the same domain for secure and non secure, the cookie gets overwritten with whatever i pass in as the session.
however, when i pass in the session data to my URL to a different domain it doesnt work.
secure.example.com/?username=testuser&session=xxxxxxxx
I get a blank page.
It seems that there is no cookie being generated when i forward to the new URL. It seems to be i need to create a new session for the new URL, and then replace the session ID in the new cookie.
How can I force the application to g