Questions tagged [stay-logged-in]
39 questions
0
votes
1 answer
Rails logged_in? method not changing the navigation bar
I have a navigation bar that is displaying a different set of links based off if the user is signed in or not. I have setup a logged_in? method within a conditional statement in order to accomplish this. The problem is after I click the log in…

nomad
- 45
- 9
0
votes
1 answer
Keep user logged in when using a Android WebViewClient
I have a question about the android WebViewClient, is it possible to make for instance a page where users can login and then save the credentials into a cookie like we could do on regular website that is not running inside an Android App?
If we…

Iason
- 372
- 1
- 5
- 20
0
votes
2 answers
How to make user logged in from code in Kentico 9?
In kentico 9 application, created user from code and assigned role and added into current site.
User is successfully created in kentico database and added into site, and called kentico API to authenticate newly created user and its returning true.…

Rahul - Systematix
- 73
- 4
0
votes
2 answers
Backendless check if user is logged in
in my project I tried to use Backendless as server. The registration of the users works fine but everytime I start the App I have to login again.
I want to stay logged in even if I close the App as long as I don't press the Logoutbutton.
First I…

Timitrov
- 211
- 1
- 3
- 14
0
votes
2 answers
PHP: Remember Me, Stay logged in doesn't work
In my PHP project, I want to add a user remember me checkbox so that everybody can choose to stay logged in:
Until now I do my normal log in like:
public function loginUser($psMail, $psPwd, $pnRememberMe = 0) {
// Check credentials and so on
…

Kelle
- 15
- 4
0
votes
1 answer
Authorize attribute and changed database
I have coded a C# MVC 5 Internet application and have a question about the authorize attribute.
Is there better security for this attribute in a controller?
Here is the situation that I have... if a user registers a username and a password, and then…

Simon
- 7,991
- 21
- 83
- 163
0
votes
1 answer
Forms Authentication cookie seems to stop working
I want to have functionality on my application that lets a user check off that they wish to stay logged indefinitely (arbitrarily setting the cookie expiration at 3 months from NOW).
The code I have for dealing with this is
private static HttpCookie…

Chris Marisic
- 32,487
- 24
- 164
- 258
0
votes
1 answer
Stay logged in cookie doesn't work
I try do... Stay Logged in
This is my method for add cookie...
public static void addCookie(HttpServletResponse response, String name, String value, int maxAge) {
Cookie cookie = new Cookie(name, value);
cookie.setMaxAge(maxAge);
…

Juan Pablo Gómez Uribe
- 81
- 1
- 1
- 9
-1
votes
1 answer
How i can use props to change my connexion with react js?
i wanna change my menu when my local storage is not empty but i struggled to use the props to do that.
I have my menu with condition on my component Menu and i have my component app with my navigation :
Component Menu
function Menu(props) {
const…

Xwingoga06
- 99
- 1
- 10