Welcome Guest, Not a member yet? Register   Sign In
How to Restore a session (DB_Session) with a session_id?
#1

[eluser]Unknown[/eluser]
Hi Folks,

I am trying to figure out how to restore a session using session_id. For the greater purpose of passing session information from a http to a https page. I am using
DB_SESSION.

Heres what I have so far:

The HTTP From Object:

$session_id=$this->session->userdata['session_id'];
redirect($this->config->item('Base_SSL').'/check_it/'.$session_id);

The Receiving Object

So now I have the session_id in the object

$session_id = $this->uri->segment(2);
NOW how do i restore the session with the session id???
#2

[eluser]Unknown[/eluser]
Hi there!

I am having the same question, and I am wondering if you have solved this by now?

If so, would you share what you did?

I have a main domain name, and a different shared ssl cert (not the same has my domain name) and I want to have the codeigniter database session flow across the http to the https processes.

Any information would be great!

Thanks,
Darryl




Theme © iAndrew 2016 - Forum software by © MyBB