Welcome Guest, Not a member yet? Register   Sign In
Sharing session with no CI app
#4

Hi boyos! 
first of all thks for the response!
now... i tried the session check first in my base controller -> didnt work... its still creating a new session file in writable/session folder i change my .env to try and match the name of my session with the other app like this:
Code:
app.sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler'
app.sessionCookieName = 'sess'

the result is: a session file named sess_aj2fri8h0ucnsfu5shkjhmmtaj -> my app session
sess7mo31q37chk4ghtbkjl81i8ruhlg2id7 my ci session if i putt the sessionCookieName = 'sess_' generates a session with the name "sess_" diferente to the other app named "sess", gives me two session diferents names....

Im using filehnadler, the two sessions are stored in writable/session folder
Salute!
Reply


Messages In This Thread
Sharing session with no CI app - by gurthang75 - 12-30-2021, 11:31 AM
RE: Sharing session with no CI app - by ikesela - 12-30-2021, 09:02 PM
RE: Sharing session with no CI app - by InsiteFX - 12-31-2021, 01:35 AM
RE: Sharing session with no CI app - by gurthang75 - 01-03-2022, 09:58 AM
RE: Sharing session with no CI app - by InsiteFX - 01-04-2022, 02:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB