This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

goes.aric7724
goes.aric7724

Hi, how to get native php session or cookie on frontend? i create octobercms project and i'm join it on native php with different segment url, now i want to get session from the native php and use it on octobercms project. i was tried use " Session::get('my_session') / Cookie::get('id_my_cookie') " but not work. Any help will be much appreciated.

Thanks

info17589
info17589

Hi,

for me the native PHP call for cookies works:

$cookie_value = $_COOKIE['cookie_name']);

Last updated

goes.aric7724
goes.aric7724

hi @info17589,

i mean call native cookies or session from octobercms>info17589 said:

Hi,

for me the native PHP call for cookies works:

$cookie_value = $_COOKIE['cookie_name']);

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.