Skip to content
Discussion options

You must be logged in to vote

For anyone interested, this is my current solution.

The only downside is if you send a lot of data with your action, it will might be sent twice. This could be solved with the Keep-Alive-Message discussed above.

class FinTsSessionAware extends FinTs
{
    public function storeToSession(): void
    {
        // Implement this yourself
    }

    public function hasDialog(): bool
    {
        return $this->dialogId !== null;
    }

    public function loginIfNeededAndExecute(BaseAction $action): BaseAction
    {
        $logger = $this->getLogger();
        $loginNeeded = false;
        if ($this->hasDialog()) {
            // Probieren ob wir vlt noch eingeloggt sind
            $currentA…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@ampaze
Comment options

@Philipp91
Comment options

@ampaze
Comment options

@Philipp91
Comment options

Comment options

You must be logged in to vote
2 replies
@Philipp91
Comment options

@ampaze
Comment options

Answer selected by ampaze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants