Yii Framework Forum: Cwebuser->Beforelogout Doesn't Call When Session Expires - Yii Framework Forum

Jump to content

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

Cwebuser->Beforelogout Doesn't Call When Session Expires Rate Topic: -----

#1 User is offline   romanoza 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 117
  • Joined: 17-April 09
  • Location:Moscow, Russia

Posted 09 April 2013 - 01:12 PM

CWebUser->beforeLogout (in extended WebUser class) doesn't calls when session expires and logout happens.

Is it OK? I need to clear some data in DB when session expires and user trying to reload page.

- MacOS
- nginx+php-fpm
- chrome
- 1.1.13
I am not a wizard, i am just learning...
0

#2 User is offline   romanoza 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 117
  • Joined: 17-April 09
  • Location:Moscow, Russia

Posted 10 April 2013 - 01:50 AM

I mean not actually session cookie expires, but in db record field expire
I am not a wizard, i am just learning...
0

#3 User is offline   romanoza 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 117
  • Joined: 17-April 09
  • Location:Moscow, Russia

Posted 11 April 2013 - 11:52 AM

afterLogout too
I am not a wizard, i am just learning...
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