i am having my project in "http://localhost/shop/index.php". index page sets session and redirect page to "http://localhost/shop/admin/index.php", when i do this, session has been set in the "main page(http://localhost/shop/index.php)", while redirecting to "http://localhost/admin/index" session is expired. how to over come this? can anybody please help me????
We'll probably need to see some code, and need clarification as to what the exact symptoms are. There's no obvious reason I can see as to why a session should expire on the redirected page, but then maybe it just seems like it's expired but really there's some other logic error that is giving the observed effect. (Or not, I'm just trying to point out that I don't know. )
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation