How do I pack a list inside a string so that I can send it as a param in live_redirect?

@kokolegorille already mentioned the conventional method. My method is unconventional but if you are not happy with the conventional method you can try this:

  • before the first liveview redirect the user to login form, store everything you want to carry over to the client side, by push_event them over.
  • login, etc
  • after the user landed in the second liveview post-auth, grab everything back from the client side.

You do not need cookie, session, query string, etc to make it work. heck, you don’t even need a database for this.

1 Like