Questions tagged as 'session'

0
answers

FormsAuthentication - How to not expire session

I've been searching some way that my session will never expire, unless the user logs out. My code is like this, I am obliged to inform the validity of the session: public void CreateAuthorizeTicket(string userId, string roles) { var auth...
asked by 05.12.2018 / 16:51
0
answers

Is not the PHP session refreshed when using Ajax?

I have a scheduling page where every 30 seconds I send (in the background) an ajax request to know which schedules are still available, if there is an error I show a bootstrap with error information, it works 99% / p> The 1% is because the fol...
asked by 27.11.2018 / 14:13
0
answers

WebView on Android should save the session with logged in user?

I have an application that only loads a website. The login works normal, but it happens after a few hours the session disappears. I talked to the site owner about increasing the cookie expiration time, he said that he had already done so and tha...
asked by 10.11.2018 / 00:47
0
answers

error: session can not resolved

In the code below I'm getting the message: session can not resolved which prevents you from running the code snippet. package controler; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.criterion.Restriction...
asked by 27.11.2018 / 16:47
0
answers

Error making Hibernate relationship with Java

Good afternoon guys! I have a question in Hibernate. I have the following case Person - Client - Supplier But I can not make the relationship. follow my codes New Error 18:50:34,405 DEBUG [org.hibernate.SQL] - select SEQ_C...
asked by 01.11.2018 / 18:36
1
answer

SESSION is not loading variables $ _SESSION ['']

I am making a SESSIONS-based user authentication system. I created a function that does the LOGOUT which looks like this: session_destroy(); // Cancela/Exclui a sessão iniciada unset($_SESSION['usuario']); ?> <script type="text/javasc...
asked by 22.10.2018 / 15:32
0
answers

Function when starting a session and when a session expires Laravel 5.6

Hello, I am creating a system in laravel and I want to make a function to display the user online, I have already created the onLogin and onLogout functions, but if the session expires it stays online. I would like to know if I lease knows where...
asked by 22.10.2018 / 14:53
0
answers

Why does not the PHP session work if I already have a variable in the super global $ _SESSION?

I have the following code in the config.php file: <?php if(session_status() != PHP_SESSION_ACTIVE ) { session_start(); } $_SESSION['id_sessao'] = session_id(); ... It happens that when I send the login form to insert another data...
asked by 21.09.2018 / 19:27
0
answers

How to handle expired session within modal bootstrap 4.x?

I have a system where the user chooses a date and time for scheduling, I increased session time because the user needs to fill out a form with various information, it is working beauty. It happens that after the session has expired the browse...
asked by 24.09.2018 / 14:03
0
answers

Every time I click to go to another page, it asks for the login again (LARAVEL 5.6)

Good afternoon guys Every time I go to another page, my application asks to re-login Follow the route Route::get('/', function () { return view('welcome'); }); Auth::routes(); Route::group(['prefix'=>'admin','middleware'=>'...
asked by 17.09.2018 / 20:09