Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Should session_regenerate_id be used in CI 3?
Post: RE: Should session_regenerate_id be used in CI 3?

I had a case where I used a "write_log" function that wrote to database, since I could not use error_log for a while. Then I had lines similar to $data = array("check_out_time" => "2020-01-01 20:00"...
989 Views
5 Replies
10-12-2020, 05:42 AM
valema
    Thread: Should session_regenerate_id be used in CI 3?
Post: RE: Should session_regenerate_id be used in CI 3?

Ok. Thanks. Yes it's https.
989 Views
5 Replies
09-22-2020, 09:00 AM
valema
    Thread: Should session_regenerate_id be used in CI 3?
Post: RE: Should session_regenerate_id be used in CI 3?

Hello @php_rocs. Thanks for answering. The application is online. For time reporting. Users can't get accounts from outside. Only existing user can register another user. Pages exposed to public: ...
989 Views
5 Replies
09-21-2020, 01:36 PM
valema
    Thread: Should session_regenerate_id be used in CI 3?
Post: Should session_regenerate_id be used in CI 3?

Hello. I want to make my site more secure and wonder if/when one should use session_regenerate_id in CI 3.
989 Views
5 Replies
09-04-2020, 09:01 AM
valema
    Thread: How to count logged in users?
Post: RE: How to count logged in users?

Thanks for the answers. I read on CI userguide this example:     $newdata = array(         'username'  => 'johndoe',         'email'    => '[email protected]ite.com',         'logged_in' => TRUE     ); ...
2,071 Views
8 Replies
08-31-2020, 05:14 AM
valema
    Thread: How to count logged in users?
Post: RE: How to count logged in users?

Well. I once tried to find in the sql-select-result from CI_sessions when a user was logged out... but didn't grasp (it). Now I wonder must I use CI session-helper or is it OK to use php's $_SESSION, ...
2,071 Views
8 Replies
08-28-2020, 05:47 AM
valema
    Thread: How to count logged in users?
Post: RE: How to count logged in users?

@php_rocs thanks for replying. No, just Id and username (in session). I see I can for example have a column in the user table "logged_in" that can be int and 0 means no 1 means yes. Or have a column "...
2,071 Views
8 Replies
08-27-2020, 02:28 PM
valema
    Thread: How to count logged in users?
Post: How to count logged in users?

Hello. I'm using session to have logged in users, and have set CI (3) to store those in database. I was thinking (half as a scenario) that I want to replace files in the running system, and want to c...
2,071 Views
8 Replies
08-27-2020, 01:33 AM
valema
    Thread: get and post ID to new join table
Post: RE: get and post ID to new join table

Hello. Is it CI 3 or 4? I make a guess; your UPDATE query is including the foreign key ID. Maybe you can try making the query without touching that column that has foreign key constraint. Which CI met...
1,508 Views
1 Replies
08-27-2020, 01:22 AM
valema
    Thread: I can't send a AJAX request in a codeigniter server
Post: RE: I can't send a AJAX request in a codeigniter s...

Could it matter weather it's a GET or a POST request? I'm quite certain that if you use GET the controller method doesn't need a route...
3,339 Views
10 Replies
08-27-2020, 01:13 AM
valema
    Thread: Sessions table not beeing cleared
Post: Sessions table not beeing cleared

Hello. I have CI 3, and maybe it's been replaced by now with newer systems(?) It's working as far as I know. I looked in the ci_sessions table. The oldest row has a timestamp corresponding to...
935 Views
1 Replies
06-23-2020, 02:53 PM
valema
    Thread: Found translation miss i CI 3.1.5 for upload
Post: RE: Found translation miss i CI 3.1.5 for upload

ciadmin Wrote: (11-26-2019, 10:00 PM) -- If there are corrections for the system message translations, the proper way to correct them would be through a pull request to the https://github.com/bcit-ci...
2,015 Views
3 Replies
11-27-2019, 01:00 AM
valema
    Thread: Found translation miss i CI 3.1.5 for upload
Post: Found translation miss i CI 3.1.5 for upload

Hello, I have located a lacky translation into swedish, it's in: /application/language/swedish/upload_lang.php It's about upload_invalid_dimensions It translates invalid-dimensions into "bigg...
2,015 Views
3 Replies
11-26-2019, 01:14 PM
valema

Theme © iAndrew 2016 - Forum software by © MyBB