Jump to content

Help with integration of OOP & linear PHP code


mukunthan

Recommended Posts

Hi,

I have 2 modules.The 1st module is completely done using smarty & OOPS(does not handle session variables) and the 2nd one with ordinary linear php programming (with session handling & variables) .Both have separate user homepage and seperate user homepage features. I have to login inside the 1st module to access the user's home page features in the 2nd module.

 

I posted the user id from module 1 and put it in a session varible in module 2 and it works fine. But there is a small glitch. If I leave my system idle after the session timesout in the 2nd module. User's home page features are inaccessible in the 2nd module and asks the user to sign in(which is on the 1st module). But when the user clicks the sign in link it goes to the user's homepage in the 1st module as it has not logged out in the 1st because it does not use session as it uses a function to clear all the user details.

 

Can anyone help me to solve this glitch without increasing the session timeout or using cookies?

 

Thanks in advance

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.