Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP ServiceHandler: is it possible to make generated url transitive?(The service url needs to be invalidated after visited)
RAP ServiceHandler: is it possible to make generated url transitive? [message #1701031] Wed, 08 July 2015 19:20
Tass Burrfoot is currently offline Tass BurrfootFriend
Messages: 19
Registered: April 2015
Junior Member
Hello

I use RAP ServiceHandler to let the application to redirect to a url (in the same domain) in this way:

String url = RWT.getServiceManager().getServiceHandlerUrl("test");
try {
RWT.getResponse().sendRedirect(url);
} catch (IOException e) {
e.printStackTrace();
}

The page is redirected to http://localhost:8080/hello?servicehandler=test&cid=6b885ca6

As long as the session is alive, this generated url is valid. Is there any way to make this url invalid after being visited while keeping the current ui session alive? Thank you very much for your time and help.

Tass

[Updated on: Wed, 08 July 2015 19:22]

Report message to a moderator

Previous Topic:Rap 3.0 unit testing, Missing TestContext?!
Next Topic:How Hanization Remote Application Platform (RAP)
Goto Forum:
  


Current Time: Sat Apr 20 03:35:30 GMT 2024

Powered by FUDForum. Page generated in 0.02685 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top