Comments (13)
Within the controller you are to write
$this->template->set_layout('new_layout');
from starter-public-edition-4.
@krishnaguragain
Are you OK there?
from starter-public-edition-4.
@ivantcholakov I am just ok but it will take some more days to be in previous position.
from starter-public-edition-4.
@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.
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.
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.
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.
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.
I will be capable to look at it in the beginning of June.
from starter-public-edition-4.
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.
For http://localhost session works, I don't see a reason why not.
from starter-public-edition-4.
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.
I've just proposed a correction, #57.
from starter-public-edition-4.
Related Issues (20)
- PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/msql.so HOT 4
- Plans for 4.4 HOT 8
- Where is "Support for database stored settings (Settings library)." database? HOT 2
- $this->uri->segments() should not return the language segment. HOT 2
- db question HOT 7
- email config HOT 5
- Deleting Cache Dir HOT 5
- different language for applications HOT 3
- Read the language settings from the database HOT 3
- multiple applications HOT 2
- Notes: Advanced CRUD using DataTables, a visual sample
- Email templates and global XSS filtering HOT 1
- Cache Issue HOT 4
- Sub-dropdown HOT 3
- Error while setting setting's key & value HOT 6
- Install using composer HOT 2
- composer packages explication / question HOT 2
- Screenshots HOT 25
- Datatable HOT 1
- Starter Public Edition 5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starter-public-edition-4.