plug_session_mnesia v0.1.2 mix session.clear View Source

Clears all sessions from the Mnesia table.

To clear all sessions from the Mnesia table, run this mix task:

$ mix session.clear

If you use to start your IEx development sessions with a node name, you must also run session.clear with the same node name to effictively run the command on the good Mnesia database:

$ elixir --sname "my_node@my_host" -S mix session.clear

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.