Welcome Guest, Not a member yet? Register   Sign In
Parameter passing between two CI applications on the same server
#1

[eluser]WebMada[/eluser]
Hi!

How to manage that? Passing parameters from a CI application to another in the same machine.

In fact, there a two separated websites in a server. In the first, the principal one, there a three kind of user profiles so when a "vendor" profile tries to connect to the first, it is automatically redirected to the second website.
So, the connection information in the first is passed to the second. How to do that? Especially in CodeIgniter.

Thanks in advance!
#2

[eluser]WebMada[/eluser]
I continue my thread idea.

I thought to use $_SESSION of PHP because I think that $this->session of PHP cannot be got in other web application, isn't it??
But I think also that $_SESSION cannot be caught in other application?? How do web hosters to avoid that a hosted site steals the session of another site???

My solution is to use database, site 1 stores the information in a specific table and redirects to site 2 which will read it. How do you think about that?




Theme © iAndrew 2016 - Forum software by © MyBB