Jump to content


Livezilla Widget on Single Page Application


2 replies to this topic

#1 paulking

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 21 December 2018 - 11:34 AM

Hi Guys,

I am trying to use

LiveZilla Widget API

in a single page application. I need to logoff one user and log in another one without page reloading.

I see there are lz_data and LiveZilla.SetData for setting user data but this does not work for me. So is there a way to change user with LiveZilla Widget API?

Thanks

Paul King

#2 Patrick Keil

    Administrator

  • Administrators
  • 3788 posts
  • LocationSingen, Germany

Posted 21 December 2018 - 11:44 AM

Hi Paul,

While there's no such "reset" function, you should be able to set user data after login. Please make sure that overwrite is set true.

LiveZilla.SetData({overwrite:true,111:'Tom',112:'tom@email.domain'});


#3 paulking

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 21 December 2018 - 12:19 PM

Hi Patrick,

We are using 'overwrite:true' as showing in the attachments.

Can you offer any further advice?

Thanks

Paul

Attached Thumbnails

  • Attached Image: IMG_21122018_141529_0.png
  • Attached Image: IMG_21122018_141529_1.png
  • Attached Image: IMG_21122018_141529_2.png






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users