hi all,.
i think i saw this question here in this forum before, but i can't find it anymore ("thanks" to EMB...)
my main screen is a typical username/password login screen.
i know we can show an html page for an exception(like session timeout), but how can we show our main screen instead of a regular html, when the session ends please?
Thanks
Vote for best question.
Score: 0
# Vote: 0
Date Posted: 15-Jan-2015, at 7:42 AM EST
From: Eitan Arbel
Re: closed session's exception as my login screen?
> the thing is that i want the application to go to this login (html?) page once the session is over.
> right now, if the user is trying to fill in a form after he left the computer for too long, an exception shows up (which is ok, but is also really annoying to see after filling a long form with data).
the login screen is a static HTML file? If so, you can create another static HTML page to show something like: "Your session expired. Redirecting to the login page..." and use a JavaScript timer to redirect to the login page. Is this what you want?
Vote for best answer.
Score: 0
# Vote: 0
Date Posted: 23-Jan-2015, at 8:50 AM EST
From: Alexandre Machado
Re: closed session's exception as my login screen?
thank you Alexandre
> As I understood, you want to go back to your main form (a real IW form) when the session terminates? The only way to execute/render a IWForm is inside a session context, meaning that, in order to do that, you MUST start a new session. I'm not sure if this is your intention.
yes, that is exactly what i mean (sorry for my english).
ok, so from you explanation of my question, i understand it's a bad idea to keep a session constantly opened... :)
so we can send parameters from an html page to our IW server, like an html login page that (can?) sends user/pass to the application, right?
how can we do it please?
the thing is that i want the application to go to this login (html?) page once the session is over.
right now, if the user is trying to fill in a form after he left the computer for too long, an exception shows up (which is ok, but is also really annoying to see after filling a long form with data).
Thanks!
Vote for best answer.
Score: 0
# Vote: 0
Date Posted: 21-Jan-2015, at 10:25 AM EST
From: Eitan Arbel
Re: closed session's exception as my login screen?
> {quote:title=Eitan Arbel wrote:}{quote}
> hi all,.
>
> i think i saw this question here in this forum before, but i can't find it anymore ("thanks" to EMB...)
>
> my main screen is a typical username/password login screen.
> i know we can show an html page for an exception(like session timeout), but how can we show our main screen instead of a regular html, when the session ends please?
>
>
> Thanks
As I understood, you want to go back to your main form (a real IW form) when the session terminates? The only way to execute/render a IWForm is inside a session context, meaning that, in order to do that, you MUST start a new session. I'm not sure if this is your intention.
Vote for best answer.
Score: 0
# Vote: 0
Date Posted: 21-Jan-2015, at 9:20 AM EST
From: Alexandre Machado
Re: closed session's exception as my login screen?