Jump to content
  • 0

Use Cookies to Remember User Identity?


joscetre

Question

Is it possible to use cookies to remember the identity of a user to streamline the log-in process? Using Javascript I have been able to modify the Caspio appkey cookie to append the user information together with an expiration date. However, when the user logs off and starts a new session, it appears that a new Caspio cookie over-writes any existing cookie on the user's computer. Is there a way to retain the user's identity in a cookie?

Subsequent edit: I have resolved the problem. Just need to be very precise about the cookie formats and handling of different browsers. You may delete this post.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I was going through some connections to my internet and I may have removed cookies as I was figuring by removing cookies that I would increase my internet speed. At this point if I try to log on to a bank account my user ID and password are not accepted. Does it sound like this is because I removed cookies and how can I get them back?

Link to comment
Share on other sites

  • 0

Is it possible to use cookies to remember the identity of a user to streamline the log-in process? Using Javascript I have been able to modify the Caspio appkey cookie to append the user information together with an expiration date. However, when the user logs off and starts a new session, it appears that a new Caspio cookie over-writes any existing cookie on the user's computer. Is there a way to retain the user's identity in a cookie? Subsequent edit: I have resolved the problem. Just need to be very precise about the cookie formats and handling of different browsers. You may delete this post.

Hi, how did you do this? I want to implement this a well. Would you like to share the solution? Thanks

Link to comment
Share on other sites

  • 0

Hi dominiq,

 

If I understand correctly, you want to use the username of a logged in user.

As far as I know, you can use parameters of the Authentication. You can find details in the article, "Inserting authenticated data" chapter.

There is also the "Personalize a Message For Your Users" article.

 

I hope, it helps.

 

Thx Jan for your reply.  

What I would like, is the the username is saved "before" the login. 

Most website have something like "remember username" so next time you see the login screen you only have to fill out the password. 

Link to comment
Share on other sites

  • 0

Hi dominiq,

 

As far as I know, it is impossible to remember user without Authentication. I thunk, it is not safety for users if the system remembers their data.

 

Maybe, there is a standard function for working with cookies, but I am afraid I do not know it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...