CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Terminate and Redirect

by etwoss » 19 Sep 2015 17:01

Hi

I would like some assistance with this issue.
When an user logs of i do a TerminateAndRedirect, also it stopped working some time ago.
While this seems an veruy easy command.

What happens is that the application does not redirect but goes to my loginpage with a strange url which contains a lot of information about a TIWCGJQDropDown i use on my main form
You can see this in the image.
This is an example of the URL:

http://127.0.0.1:8080/$/?DDVERVANGEND_J ... ALOG_SIZE= ... ALOG_SIZE= ... ALOG_SIZE=

Will request premium support because now i often have a error on logout also (Invalid SessionID).

Eric
You do not have the required permissions to view the files attached to this post.
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 21 Sep 2015 10:06

Hi Eric,

What path are you passing to TerminateAndRedirect?

This line will terminate the session and redirect to base url (start another session).

delphi code
WebApplication.TerminateAndRedirect(WebApplication.ApplicationURL);


Best Regards
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by etwoss » 21 Sep 2015 10:42

Hi


I have the value in my database. but tried with an existing one like 'http://www.re-base.nl'.
Also posted this on the intraweb forum in case it has nothing to do with cgdevtools

In our app here at screen it works fine.

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 21 Sep 2015 14:11

Hi Eric,

Also posted this on the intraweb forum in case it has nothing to do with cgdevtools


And this not related with us.

TerminateAndRedirect is a Intraweb function.

http://docs.atozed.com/docs.dll/classes/TIWApplication.html

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by etwoss » 21 Sep 2015 15:51

Hi

I know but strange is that it goes to my login but in the url is all the dropdown stuff.

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58


Return to General

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.