Welcome Guest, Not a member yet? Register   Sign In
Share Session data from Raw PHP
#1

[eluser]anishpsla[/eluser]
Hi, I have an application written in raw PHP. Now I want to add a module to it. I am using CI for the new module. How to get the session information from the present PHP application to CI ?
#2

[eluser]InsiteFX[/eluser]
You would need to pass it as variables or through the database.
#3

[eluser]anishpsla[/eluser]
Please post some code snippet for pass it as variables.
#4

[eluser]CroNiX[/eluser]
If you are using regular sessions in your first app, $_SESSION, then I wouldn't use CI's sessions as they aren't native sessions. Just use $_SESSION in your CI app and you can read/write data to the original $_SESSION and the app won't know the difference.
#5

[eluser]anishpsla[/eluser]
Thanks for your information.




Theme © iAndrew 2016 - Forum software by © MyBB