Yii Framework Forum: Update record simultaneously - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Update record simultaneously update record simultaneously Rate Topic: -----

#1 User is offline   Sally(habib) 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 23-November 16

Posted 30 November 2016 - 06:01 AM

HI all,
I have query that , if admin logged in one tab as well as user logged in another tab in browser , its obvious that session_id variable set to recent logged-in id. So if admin update, the id stored was user's. If anyone help me to solve it will be helpful and appreciated.

Thanks Sally.
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,225
  • Joined: 17-January 09
  • Location:Russia

Posted 01 December 2016 - 12:29 PM

Can't be solved. The design is that if it's a single browser, only single login is allowed at the same time.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
0

#3 User is offline   Sally(habib) 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 23-November 16

Posted 02 December 2016 - 01:23 AM

First of all Thanks for the response.There is no way other than that.?? by ur saying you are telling that it isnt a issue. right??
If it is needed what to do sam??

Thanks Sally.
0

#4 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,225
  • Joined: 17-January 09
  • Location:Russia

Posted 02 December 2016 - 02:52 PM

If you really need it you have to implement it yourself. Yii can't help you in this case.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users