04-17-2023, 04:02 PM
I have a case, where my App under IIS is accessed with a parameter passed in the URL, does some processing, sets session timeout to 20min and waits for user input. But when the user makes selection and clicks on the button, the server seemingly starts a new session that no longer has that initial parameter and so the user needs to start all over.
I'm not exactly sure when this first started, but it has been there for a while now. It happens in about 25-75% of runs, not every time, sometimes both the session and the parameter are preserved. IW logs nothing, so I cannot troubleshoot it.
I can see that IIS starts a new process and loads the DLL anew, so there must be something that's crashing it, I was just unable to figure out what so far.
So, I'm trying to figure out a process that would allow me to set that parameter somewhere in the button, so when the user finally clicks it, it would pass it on in some way, even if that's going to create a new session.
I've tried setting this parameter in the button's ExtraTagParams, but as IW is starting a new session, it gets lost. I think I need to be able to add this parameter on the URL generated by the button click - that should do the trick. Is there any way to do this?
Ans also, is there any way to get more logs to see why the IIS is restarting the process? - there's nothing in the Event Viewer and nothing in the
I'm not exactly sure when this first started, but it has been there for a while now. It happens in about 25-75% of runs, not every time, sometimes both the session and the parameter are preserved. IW logs nothing, so I cannot troubleshoot it.
I can see that IIS starts a new process and loads the DLL anew, so there must be something that's crashing it, I was just unable to figure out what so far.
So, I'm trying to figure out a process that would allow me to set that parameter somewhere in the button, so when the user finally clicks it, it would pass it on in some way, even if that's going to create a new session.
I've tried setting this parameter in the button's ExtraTagParams, but as IW is starting a new session, it gets lost. I think I need to be able to add this parameter on the URL generated by the button click - that should do the trick. Is there any way to do this?
Ans also, is there any way to get more logs to see why the IIS is restarting the process? - there's nothing in the Event Viewer and nothing in the