Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
15.1.2 TerminateAndRedirect Error
#1
My code:
GGetWebApplicationThreadVar.TerminateAndRedirect('/GoodBye.html');

Error:
Project Project1.exe raised exception class EInvalidAppID with message 'Session ID is invalid.'.

It works with code:
GGetWebApplicationThreadVar.Terminate('<!DOCTYPE html>' +
'<html lang="en">' +
'<head>' +
'<meta charset="UTF-8">' +
'<title>My App</title>' +
'</head>' +
'<body>' +
'<h1>Goodbye.</h1>'
'</body>' +
'</html>');
Reply


Messages In This Thread
15.1.2 TerminateAndRedirect Error - by matija - 08-12-2019, 09:14 AM
RE: 15.1.2 TerminateAndRedirect Error - by matija - 08-12-2019, 01:00 PM
RE: 15.1.2 TerminateAndRedirect Error - by kudzu - 08-12-2019, 01:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)