Yii Framework Forum: Any Effect If We Move From Php Authorization To Database Authorization Method - Yii Framework Forum

Jump to content

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

Any Effect If We Move From Php Authorization To Database Authorization Method Rate Topic: -----

#1 User is offline   Yureshwar Ravuri 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 29
  • Joined: 30-November 11
  • Location:Hyderabad

Posted 26 July 2013 - 01:29 AM

Hi,

We are planning to change the Authorization method from php to db. I want to know whether there will be any effect on the currently logged in users. If so can we migrate session from php to db without logging out the already logged in users.


Thanks,
Yureshwar Ravuri
--------------------------
Thanks,
Yureshwar Ravuri
Mail: yureshwar@yuresh.net
Web: http://www.yuresh.net
0

#2 User is offline   codesutra 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 596
  • Joined: 15-March 11
  • Location:India

Posted 26 July 2013 - 02:24 AM

View PostYureshwar Ravuri, on 26 July 2013 - 01:29 AM, said:

Hi,

We are planning to change the Authorization method from php to db. I want to know whether there will be any effect on the currently logged in users. If so can we migrate session from php to db without logging out the already logged in users.


Thanks,
Yureshwar Ravuri


I would like to know something from you first.

Quote

1. Is your application in production mode?
2. What you want to say from this line. "We are planning to change the Authorization method from php to db." Please make it clear.


CodeSutra
0

#3 User is offline   Yureshwar Ravuri 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 29
  • Joined: 30-November 11
  • Location:Hyderabad

Posted 26 July 2013 - 02:38 AM

View Postcodesutra, on 26 July 2013 - 02:24 AM, said:

I would like to know something from you first.


Yes Our application is in production mode. We want to save the session to db from php file based.
--------------------------
Thanks,
Yureshwar Ravuri
Mail: yureshwar@yuresh.net
Web: http://www.yuresh.net
0

#4 User is offline   codesutra 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 596
  • Joined: 15-March 11
  • Location:India

Posted 26 July 2013 - 03:13 AM

Ok,

So for that you can use CDSession for that. And i would suggest to do a test on Development mode first.if its work you can do the same on your production server too.

Since,This is something crucial part that's why you need to be assure that it is working correct.

But as i am thinking it will effect on Logged in users session.i am not sure about it but i think it will affect the Logged in User's sessions.Almost 70 % changes for that.Even though you have to give it a try then only you can say something. :)
CodeSutra
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