Welcome Guest, Not a member yet? Register   Sign In
session in severals tabs Firefox..
#1

[eluser]tnathos[/eluser]
Hi.. in my app i use a login system.. if the user send the email and password fine.. i set the an session variable named id whit the id user... all works fine.

but today i login in the page.. and open other tab.. so i see what the session only its handled in the firts tab.. and in the second tab.. show me againe the login page..

so what its the problem? how i can fix that? what i do bad?

thanks!
#2

[eluser]fromjah[/eluser]
Your problem is really strange if it was working before and now it doesn't !!
Have you change some bits of code lately?
Could be the use of the flash session function instead of the normal one ?

Another path to explore :
Are you using the session from the CI core or a library to allow you to use the native PHP ones ?

I've discover some weird behavior with the one in the CI core, which is maybe caused by my application but i swith to the php one and everything works fine now! My problem was to refresh the data on the session..

Hope I've helped a little, good luck !


Edit: Take a look to this thread, it could be it : http://ellislab.com/forums/viewthread/146104/
#3

[eluser]tnathos[/eluser]
ok i solved the problem.. i put in the main page a control for know the state the process login and redirect.. noob question omg




Theme © iAndrew 2016 - Forum software by © MyBB