Showing posts with label cookies. Show all posts
Showing posts with label cookies. Show all posts

Monday, June 11, 2012

How do I make an http request using cookies on Android?


I'd like to make an http request to a remote server while properly handling cookies (eg. storing cookies sent by the server, and sending those cookies when I make subsequent requests). It'd be nice to preserve any and all cookies, but really the only one I care about is the session cookie.

Friday, June 8, 2012

Login/session cookies, Ajax and security


I'm trying to determine the most secure method for an ajax based login form to authenticate and set a client side cookie. I've seen things about XSS attacks such as this:

Tuesday, May 29, 2012

Friday, May 18, 2012

How do HttpOnly cookies work with AJAX requests?


JavaScript needs access to cookies if AJAX is used on a site with access restrictions based on cookies. Will HttpOnly cookies work on an AJAX site?

Sunday, May 13, 2012

Why jquery ajax not sending session cookie


I am getting logged out when I send request by ajax in a login session. I check headers sent by FireBug and show there was not cookie

Tuesday, February 28, 2012

Monday, January 30, 2012

Can we set a cookie in php according to client"s time?


I have following requirements:



  1. create a cookie for server domain

  2. that cookie will expire in x seconds say in 200 or 500 seconds.

Monday, January 16, 2012

How to implement a “save” feature with dynamic content using cookies


I would like to implement a "save" feature, which allows my users to save a particular entry that I have presented to them from my database. For example, if they see something they like, they can press the "save" button and it will save to a "bookmarks" page.