I am writing an app that needs to store a cookie.
my plan is to do the following.
// create a ref to shared storage area
NSHTTPCookieStorage *cookieJar = [NSHTTPCookieStorage sharedHTTPCookieStorage];
// query the current acceptpolicy (ie want to store it for later...)
[cookieJar cookieAcceptPolicy]; /******** This line cra...
Where does Chrome store its cookie file on a unix system?
...
Is it possible to enable cookies on the Microsoft.mshtml.dll web browser if that control is running within a C# User interface pane? I am having a situation where a popup window is not able to see the session since the session cookie may not be getting stored in the original window that spawns the popup. I don't know how to manage ...
Hello,
How can we delete a cookie [jquery plugin cookie $.cookie()] or set it to null on one page from a diff page? I want to delete a cookie on page 2 from page 1 on button click. I tried so many diff ways and I was unsuccessful. please help. is there any work around?
...
This is the command with which I set cookies:
setcookie('username', $username,
strtotime('+1 months'), '/',
'.localdomain.com/jp/');
This is the statement with which cookie is read:
$user=$_COOKIE['username'];
Why can I not read cookies on another page?
...
I have an ASP.NET 3.5sp1 app that is a single page design. The site never posts back. All interaction is done via ajax. (the site is http://BiblePro.BibleOcean.com)
Anonymous access, no accounts in the app.
I wish to save the user's state so that when they come back it returns to where they left it. Is there a way I can save a cookie t...
I have a drop down in one of my views, allowing me to select the number of images on the page. I want to remember the selection on that page, so when the user comes back, the number of images displayed are what they selected last time around.
To achieve this I am setting the cookie value from within the controller like this
if cookies...
Our Rails app is using Restful Authentication for user/session management and it seems that logging in to the same account from multiple computers kills the session on the other computers, thus killing the "Remember me" feature.
So say I'm at home and log in to the app (and check "Remember me"). Then I go to the office and log in (and a...
Hi,
I'm writing Qt client for ASP.NET web service with FORMS based authenitcation.
The service consists of 3 methods:
Login(user,pass)
Helloworld() - this method returns info oabout athenticated user.
Logout()
Every thing working fine on the dot.net client with CookieContainer.
The problem begins with HelloWorld() methods. it return...
I'm wondering, are there any guidelines or best practices on when to use sessions and cookies?
What should and what should'nt be stored in them? Thanks!
...
I am looking for a way to handle sessions through cookies in C++. Can anybody please help me with some hints for the solution?
...
I have a login system in place for my website, the details of the user which are stored in the database are userid(unique for every user and identifier), email address(unique), display name(not unique), password and membersince.
Now what should I store in the cookies? I was thinking about storing just the userid in the cookie with an exp...
Can I store as many as values in setcookie? What's the limit?
...
Hi, I have found a weird difference in cookie behavior in IE+Safari/Opera+Firefox while navigating with the 'back' button:
in IE and Safari the cookies set on a page get dropped (reverted) when returning to the previous page via the 'back' button, while in Opera and Firefox the new cookies persist.
The latter behavior is what I need, b...
Hello!
I'm using cURL to log in a website, but I don't know how to get/use the cookies I get.
Does anybody has an idea?
Thanks
...
Hello!
Is that possible that with cURL not every user use the same cookie?
Because it's cool that I store the cookie that I get, but this cookie will be used by everybody, and it should be, because it's a login cookie.
Charlie
...
say I want to store ID's in a cookie:
123,1232,3443,2343,2344422,2342
seeing that a cookie has a 4kb limit (or whatever), would encrypting the value allow for more storage somehow?
if so, which encryption would be best? (not really worried about security, just want to store more with less footprint)
...
Hi there!
I'm using Amazon S3 for my static files (pics, js and css). The S3 url is a subdomain of my main webapp (http://s.webapp.com)
Google's PageSpeed and Yahoo's YSlow warn to 'Use cookie-free domains' and 's.webapp.com' is one such domains using cookies but not really needing to.
How do I disable cookies in my Amazon S3 subdomai...
I want to be able to preserve the state of the web browser control when an application is restarted. For example if I log into to a site with a two hour cookie expiration, I quit the app and restart it within the two hours, I would like to continue the same session. (the same way the session would be kept if I had the control open the wh...
currently im using session to log in the user. but when i close the browser and open it again i have to log in again. how do you keeo the user logged in in lets say 2 weeks.
is it through cookies then?
...