Welcome Guest, Not a member yet? Register   Sign In
session from http to https
#8

[eluser]sampada[/eluser]
Hi,

I am just wondering where I did wrong:

Let's say a users is viewing a sponsorship page and to sponsor a particular child he has to be logged in. So in view page of sponsorship controller I set
$_SESSION['redirect']="rapyd/sponsor".

In auth controller:
Login takes the user to secure domain

function login()
{
....
if (isset($_SESSION['redirect'])){
$redirect = $_SESSION['redirect'];
unset($_SESSION['redirect']);
redirect(keep_lang("$redirect"));
}
else
{
redirect(keep_lang("homepage/index"));
}

}


In config.php

$config['cookie_domain']=".xxx.xxx";



But here the redirect session variable is blank.

Any ideas where I did wrong??


Messages In This Thread
session from http to https - by El Forum - 03-19-2009, 04:10 AM
session from http to https - by El Forum - 03-19-2009, 05:19 AM
session from http to https - by El Forum - 03-19-2009, 05:21 AM
session from http to https - by El Forum - 03-19-2009, 05:27 AM
session from http to https - by El Forum - 03-19-2009, 05:35 AM
session from http to https - by El Forum - 03-19-2009, 06:42 AM
session from http to https - by El Forum - 03-19-2009, 09:43 PM
session from http to https - by El Forum - 03-19-2009, 11:56 PM
session from http to https - by El Forum - 03-20-2009, 01:39 AM
session from http to https - by El Forum - 03-20-2009, 02:40 AM
session from http to https - by El Forum - 03-20-2009, 10:05 AM
session from http to https - by El Forum - 03-16-2010, 05:36 AM
session from http to https - by El Forum - 03-16-2010, 08:58 AM
session from http to https - by El Forum - 03-16-2010, 09:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB