GithubHelp home page GithubHelp logo

Comments (13)

ivantcholakov avatar ivantcholakov commented on June 8, 2024

Within the controller you are to write

$this->template->set_layout('new_layout');

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

@krishnaguragain
Are you OK there?

from starter-public-edition-4.

krishnaguragain avatar krishnaguragain commented on June 8, 2024

@ivantcholakov I am just ok but it will take some more days to be in previous position.

from starter-public-edition-4.

krishnaguragain avatar krishnaguragain commented on June 8, 2024

@ivantcholakov Hi,
How can I check if admin(user) is logged in from one app and check it from another app.
e.g In site_examples from admin_example.

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

What is the purpose of this, why do you need it?
I use independent logging pages in the front-end and in admin applications, the application sessions are different for better security.

from starter-public-edition-4.

krishnaguragain avatar krishnaguragain commented on June 8, 2024

like account.example.com where account is different app and i want to see whether the user is logged in or not from example.com (default app)

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

I understand it as something like "Who is online". Here is a sample explanation on how it is could be done, the provided code is old (edit: and insecure), it should be reworked: http://www.plus2net.com/php_tutorial/whois-online.php

from starter-public-edition-4.

krishnaguragain avatar krishnaguragain commented on June 8, 2024

Finally I solved my problem by using flexi auth library in core codeigniter application(i.e inside common folder) and then call from any module or app then it works.
After few more days i will put it on github.

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

I will be capable to look at it in the beginning of June.

from starter-public-edition-4.

krishnaguragain avatar krishnaguragain commented on June 8, 2024

Hello.
@ivantcholakov Why the app cannot set session when the domain is like http://example only.but it works fine when the domain is http://example.com

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

For http://localhost session works, I don't see a reason why not.

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

With http://ivan session does not work, confirmed.
Edit: I can see that on every request the session cookie gets renewed.

from starter-public-edition-4.

ivantcholakov avatar ivantcholakov commented on June 8, 2024

I've just proposed a correction, #57.

from starter-public-edition-4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.