Welcome Guest, Not a member yet? Register   Sign In
session help
#1

[eluser]dadamssg[/eluser]
how do i get this to redirect right? its a login. Im setting the session page variable for each page the user views and then when they login i want them to redirect to their current page. I know my session variable is holding a value i just cant seem to use it in the redirect

Code:
$page = $this->session->userdata('page');
redirect("mains/$page");


Messages In This Thread
session help - by El Forum - 01-09-2010, 03:24 PM
session help - by El Forum - 01-09-2010, 06:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB