Howto start from link?

I have need to start vaadin application from link meny times.

I made test application:

public class DemoApplication extends Application {

@Override
public void init() {

setLogoutURL(“/Demo/index.html”);
Button b3 = new Button(“Close”);
b3.addListener(new Button.ClickListener() {
private static final long serialVersionUID = 2331L;
public void buttonClick(ClickEvent event) {
getMainWindow().getApplication().close();
}
});

and then to index.html
Back to application

With vaadin 6.1.1 it work somehow…but not correctly with vaadin 6.1.2 i can’t get it work at all.
i get this errormessage “Invalid security key”

Hi,

Does it work at all? I.e when browsing directly to your application (not using the external link)?

I’m guessing that the logout/restart-link -mechanism is not the culprit; usually security-key problems indicate that you have a different client and server version. Make sure that you remember to update the /VAADIN -directory if you have extracted that from the jar, and also re-compile your widgetset(s) if you have made your own.
(note: the debug-window should tell you which versions you’re using)

(edit: for the record; I have not tried to reproduce, so it’s still possible something weird is happening - version mismatch is usually the cause, though, so try that first :slight_smile:

Best Regards,
Marc