Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: How to start a new session instead than displaying the timeout page?


This question is answered.


Permlink Replies: 5 - Last Post: Dec 17, 2014 8:11 AM Last Post By: Chad Hower
Francesco Fales...

Posts: 21
Registered: 11/12/06
How to start a new session instead than displaying the timeout page?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 1, 2014 5:15 AM
When ServerContoller.SessionTimeout is hit (e.g. 10 minutes are passed and TImeous was 10) the user is redirected to a page showing

Application time-out
A time-out has occurred within MyApp
In order to start a new application session, please click the link below:

Click here to start a new session of MyApp

When timeout occurs I would like to handle it:
instead of showing the "Application time-out" page i would like to show the initial page of my app (starting a new session autoamtically basically).

How to achieve this?

Edited by: Francesco Faleschini on Dec 1, 2014 5:16 AM

Edited by: Francesco Faleschini on Dec 1, 2014 5:32 AM
Allen Noland

Posts: 45
Registered: 1/11/03
Re: How to start a new session instead than displaying the timeout page?
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 2, 2014 2:49 PM   in response to: Francesco Fales... in response to: Francesco Fales...
Francesco Faleschini wrote:
When ServerContoller.SessionTimeout is hit (e.g. 10 minutes are passed and TImeous was 10) the user is redirected to a page showing

Application time-out
A time-out has occurred within MyApp
In order to start a new application session, please click the link below:

Click here to start a new session of MyApp

When timeout occurs I would like to handle it:
instead of showing the "Application time-out" page i would like to show the initial page of my app (starting a new session autoamtically basically).

How to achieve this?

Edited by: Francesco Faleschini on Dec 1, 2014 5:16 AM

Edited by: Francesco Faleschini on Dec 1, 2014 5:32 AM

There is a new setting on the server controller object called "RestartExpiredSession" It was introduced in 14.0.27. Setting that to true will send you to a new default form.

You can read more here. http://www.atozed.com/IntraWeb/Blog/20140331B.EN.aspx

Good Luck.
Allen
Francesco Fales...

Posts: 21
Registered: 11/12/06
Re: How to start a new session instead than displaying the timeout page?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 5, 2014 1:32 AM   in response to: Allen Noland in response to: Allen Noland
Allen Noland wrote:
Francesco Faleschini wrote:
When ServerContoller.SessionTimeout is hit (e.g. 10 minutes are passed and TImeous was 10) the user is redirected to a page showing

Application time-out
A time-out has occurred within MyApp
In order to start a new application session, please click the link below:

Click here to start a new session of MyApp

When timeout occurs I would like to handle it:
instead of showing the "Application time-out" page i would like to show the initial page of my app (starting a new session autoamtically basically).

How to achieve this?

Edited by: Francesco Faleschini on Dec 1, 2014 5:16 AM

Edited by: Francesco Faleschini on Dec 1, 2014 5:32 AM

There is a new setting on the server controller object called "RestartExpiredSession" It was introduced in 14.0.27. Setting that to true will send you to a new default form.

You can read more here. http://www.atozed.com/IntraWeb/Blog/20140331B.EN.aspx

Good Luck.
Allen

Thank you Allen, luckily I am on 14.0.34 so i can use this that does exactly what I asked for!

Arnoldas Juodei...

Posts: 2
Registered: 6/13/13
Re: How to start a new session instead than displaying the timeout page?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 9, 2014 9:21 AM   in response to: Allen Noland in response to: Allen Noland
Allen Noland wrote:
Francesco Faleschini wrote:
When ServerContoller.SessionTimeout is hit (e.g. 10 minutes are passed and TImeous was 10) the user is redirected to a page showing

Application time-out
A time-out has occurred within MyApp
In order to start a new application session, please click the link below:

Click here to start a new session of MyApp

When timeout occurs I would like to handle it:
instead of showing the "Application time-out" page i would like to show the initial page of my app (starting a new session autoamtically basically).

How to achieve this?

Edited by: Francesco Faleschini on Dec 1, 2014 5:16 AM

Edited by: Francesco Faleschini on Dec 1, 2014 5:32 AM

There is a new setting on the server controller object called "RestartExpiredSession" It was introduced in 14.0.27. Setting that to true will send you to a new default form.

You can read more here. http://www.atozed.com/IntraWeb/Blog/20140331B.EN.aspx

Good Luck.
Allen

How do you do this in 15.0.0?

Thanks
Arnoldas

Chad Hower

Posts: 613
Registered: 3/2/07
Re: How to start a new session instead than displaying the timeout page?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 17, 2014 8:11 AM   in response to: Arnoldas Juodei... in response to: Arnoldas Juodei...
On 12/9/2014 1:21 PM, Arnoldas Juodeikis wrote:
How do you do this in 15.0.0?

15 is beta and a very old build. 14 should be used for production work
until the 15 builds become more regular (soon)

--
"Programming is an art form that fights back"
IntraWeb IRC and Web Chat:
http://www.atozed.com/intraweb/Support/IRC.aspx

Francesco Fales...

Posts: 21
Registered: 11/12/06
Re: How to start a new session instead than displaying the timeout page?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 5, 2014 1:34 AM   in response to: Francesco Fales... in response to: Francesco Fales...
ServerController.RestartExpiredSession does exactly what i asked for
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02