|
Hi,
Suppose that you have to set 12 cookies, would it be better to store all of their values in a single "big" cookie or store each value on its own cookie? I want to know if that improves website speed.
Thanks.
Started by Lucia on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't think there will be a big performance issue using multiple... .
The number of cookies is hardly going to affect speed in any meaningful way since either they'll to store more data than that, then you're better off using several cookies.
|
|
Hi,
I'm trying to set a cookie in one domain and access it from another. Is this possible?
Here's what I'm doing in my app:
In a controller, the test action is accessed via this url:
http://myapp.com/account/test
def test cookies[:foo] = { :value =>...
Started by Jim Jones on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can set the same cookies for all your domains by doing; '.mydomain....
I have to add, if it were possible to set cookies for other, arbitrary domains, there would be massive security/privacy issues.
But not for exampleapp.com.
|
|
Haven't been able to find anything particular to this situation online so here i go... I need to set/get the cookies stored at "first.com" while browsing "second.com", I have full access of "first.com" but i only have javascript access (can manipulate...
Started by Luca Matteis on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Www.first.com/readcookie.php"); refreshObject.send(); }
Regards, Robert
For SETTING cookies you can cookies from a different domain, right? I need to actually be on first.com to actually read its cookies.
|
Ask your Facebook Friends
|
It seems that Google Chrome doesn't keep my "allow all cookies" settings (dev 5.0.322.2) anymore.
Google's sites keep on showing:
Your browser's cookie functionality is turned off. Please turn it on. [?]
but every I perform the prescribed steps, Chrome...
Started by jldupont on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
I finally.
I tried deleting all cookies/cache/etc and nothing worked for me.
I had the same problem.
|
|
I'm trying to implement Facebook Connect on a website with .NET MVC using C#.
I've followed the instructions here: http://wiki.developers.facebook.com/index.php/Trying_Out_Facebook_Connect step by step. I can make the login work as in that when I log ...
Started by Lilitu88 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Firecookie is very useful for seeing what Cookies are/aren't being set..
|
|
Evernote 's bookmarklet is able to do this, therefore the most upvoted answer does not answer this even though the bounty will go to it (in a non-productive manner).
I have to call domain A.com (which sets the cookies with http) from domain B.com. All...
Started by Luca Matteis on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
This default conservative policy....
Didn't work.
It just...
If it's worth anything, Chrome doesn't set the cookies on the ability to be able to set 3rd party cookies in order to log out.
I have found no way to get around this.
|
|
I'm calling the following code:
protected void SetCookieValue( string sCookieName, object oValue, DateTime dtExpires) { Response.Cookies[sCookieName].Value = Utility.ToStringValue(oValue); Response.Cookies[sCookieName].Expires = dtExpires; Response.Cookies...
Started by peiklk on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm no asp.net expert, but without playing around with your code at all, the only thing that looks weird to me is that you're calling:
Response.Cookies.Add(Response.Cookies[sCookieName]);
after already calling
Response.Cookies[sCookieName].Value = Utility... .
|
|
I am trying to set a cookie using PHP, so it's the same as the one output by the Perl code below:
my %auth; $auth{'username'} = $username; $auth{'password'} = $password; my $wholesaleauth = $co->cookie ( -name=>'wholesaleauth', -value=>\%auth...
Started by mikelbring on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I'd suggest CGI::Cookie in perl:
http://perldoc.perl.org/CGI/Cookie.html
Then you can get cookies in PHP via the $_COOKIE['cookiename'] variable, and set them via setcookie:
http://php.net/manual/en;\%auth, -expires=>....
|
|
I'd appreciate any thoughts/insight any of you might have on this...
I have two domains running the same applications e.g. mysite.com and mysite.org and I have a requirement that when a user logs into mysite.com then he should also be logged into mysite...
Started by Michelle7 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This is not a real answer but if you own the two domains you can set your cookies using cookies.
|
|
How can I set the cookies in my PHP apps as HttpOnly cookies?
Started by Scott Warren on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
,'/', 'www.sample.com' , FALSE, TRUE);
When setting cookies manually, use the following parameter syntax in that article, you can set the header yourself in previous versions of PHP
header("Set-Cookie: hidden
You can....
|