I've been searching for an answer all day long, but couldn't find any.
I have two diferent login pages: frmLogon.wgx (wich is a VWG page) and frmLogonAlt.aspx (wich is an asp.net page and I need to use to link with third part applications).
My frmLogonAlt.aspx code is quite simple. I only have a Response.Redirect(frmLogon.wgx) with some parameters. In my frmLogon.wgx code I have some steps in form_Load method that I need to be executed.
Here's my problem:
When I open frmLogonAlt.aspx and execute the redirect code, it's redirected to frmLogon.wgx and form_Load is fired. Perfect!
When I open frmLogon.wgx and then go to frmLogonAlt.aspx (same browser session) I execute the redirect from frmLogonAlt.aspx and I'm redirected to frmLogon.wgx, but form_Load is not fired any longer.
I've seen some issues like this, but redirecting from a VWG page to another. You recommended to use Transfer instead of Redirect, but I can't use Transfer from an aspx page to wgx. I've already tried to disable caching (Browser and Web.config), but nothing changes.
Do you have any idea about what to do?
Sao Paulo - Brazil