[Corona] PHP session cookie exception

Review Request #163 — Created Oct. 1, 2013 and submitted

dinos
Lunr
dinostheo:SessionCookie
lunr
In the Request class we store the cookies locally and then we unset the global cookie variable. This affects the use of the global session variable as it is stored in a cookie (PHPSESSID). This patch adds an exception in the global cookie invalidation by letting the PHPSESSID untouched.
unit tests
  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
dinos
pprkut
  1. 
      
  2. src/Lunr/Corona/Tests/RequestStoreCookieTest.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    I'd prefer if you add another test for php session data, as these tests are still valid for the case when there is no session data.
  3. 
      
dinos
pprkut
  1. Ship It!
  2. 
      
dinos
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master
Loading...