cookies

How can you remove cookies from a specific domain, NOT your own

Hello, we have a unique issue.. it seems one of our payment processors offers additional options to users the first time they visit our payment page with the processor - being sent to it from our website. However, the subsequent times our users go to that payment page, those additional options are gone... we believe it has to do with coo...

Trouble with Cookie persistence in IE

Hi all, I am setting my cookie when user click a certain link on my web page. I am using jQuery Cookie plugin developed by Klaus Hartl. To set the cookie value I do the following: $.cookie("lanVal", "tv", {expires: 3}); But when testing the cookie functionality, I see that IE does not save the cookie properly. All other browsers ret...

Penetration testers say that the .ASPXAUTH cookie is insecure and is displaying session data?

I thought the .ASPXAUTH was for user authentication? Can anyone confirm if this cookie is indeed a security risk and/or contains session information? Is it even suppose to be used or is it some debug thing? ...

How would you mirror XMPP bind sessions to multiple tabs or windows a la facebook, okCupid etc

I've implemented a web based instant messaging / chat feature using http binding and ejabberd. For the lazy here's the short version of my question: How would you go about implementing a web based XMPP chat client which could be displayed in multiple browser windows simultaneously, each displaying an identical view of the open chats? M...

Store id values in cookie with coldfusion

Looking for a way to track the last 5 product ids in a cookie via coldfusion. I'll set a new id each time a product page is visited. The product ids could be stored in a comma separate list. How would I store only the last 5 product ids? ...

Cookies on Android/Iphone vs Desktop

I am in the process of building an mobile/web application. I want to use cookies for persistence, but I am wondering of the cookies in firefox workings the sames as say the mobile browsers and will it be recognized. Thanks in advance ...

Logging into a remote system through ajax and setting cookies

I am working on an application that pulls in information from another one and iframes it in mine. I need to be able to authenticate off the other system. It was/is working using a jQuery submit to a hidden form, but timing issues are making it tricky. What I would like to do is an ajax post to the other system and have the cookies set...

Unexplained Cookies: style name location appearing for no reason

I have been noticing when debugging that I'm seeing 3 additional Cookies on my testing Windows XP PC that I don't see in Safari on the same PC or on my Mac or indeed other PCs. I created a simple PHP page with only: <?php phpinfo(); ?> Development Only: Your current $_COOKIE contents are: <pre><?php print_r($_COOKIE); ?></pre> When I ...

Cookie: header not seen when expected

Im using FireFox's HTTP Live headers to view the headers. I wrote a script at mydomain.com that just sets a test cookie. I thought that when we send a request to a naked URL, http://mydomain.com/script.php, cookies are sent across to all sub-domains. But when I sent a request to http://www.mydomain.com/script.php, the cookie wasnt sent i...

jQuery maintaining state across pages. jQuery cookie plugin?

background i am actually creating an infinite page scroller in jQuery for my tumblr. i want users to be able to disable this functionality. maybe enable it again if they want, thats later. problem so far i can disable the auto loading of new pages using a link that will unbind() the scroll() event. also it sets a variable infiniteScr...

Accessing session cookies with NSHTTPCookieStorage

Hi everyone, I'm accessing a server's secure information and it sends a bunch of cookies to the App on request. The problem is some of the cookies are session only and when I use: [NSHTTPCookie requestHeaderFieldsWithCookies:[[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:[NSURL URLWithString:theCookie]] it doesn't retur...

Reset cookie through ajax in php created in php using setcookie method

hi, i have create a cookie using setcookie method in php. i want to reset this cookie using ajax. but this doesn't work. if any one have an idea. please help. Thanks, ...

How to save and restore all cookies with Selenium RC?

I'm running complex tests that create many cookies for different sections of my web site. Occasionally I have to restart the browser in the middle a long test and since the Selenium server doesn't modify the base Firefox profile, the cookies evaporate. Is there any way I can save all of the cookies to a Python variable before terminati...

Why isn't the Facebook JavaScript SDK setting cookies?

I'm having a problem where the Facebook JavaScript SDK isn't setting cookies on some machines, so my backend validation fails when trying to verify the cookie using my app's secret value. I've got a demo app; the important files are: app.rb demo.js The client uses the Facebook JavaScript API to log the user in and get their details,...

How do you read cookie values in ColdFusion that have special characters in the name?

I'm working with ColdFusion trying to read the value stored in a session cookie named "LiSESSION:test-0". The cookie is stored in the "test.com" domain, from code ran from "community.test.com" and I don't have access to the code to change the name. I am reading the value from "test.com" which is how I am able to access the cookie. For...

Cookie vs storing user data in Database

Hello, I feel sorry, if this post isn't related here. If you feel this post is useless act according to your wish My question is why don't we save the visitors(subscribers) cookie information in DB rather than setting a file on user's machine.Yeah, I know I might sound silly for following reasons 1) Maintaining DB for every single ...

Is the JQuery cookie plugin able to use custom aliases?

I am trying to use the JQuery cookie plugin in my project but I'm running into some trouble. Because I need to use the prototype library along with the JQuery library I used the JQuery.noConflict() method to assign $j as the JQuery alias. Unfortunately, even once I have loaded jquery.cookie.js into my page, $j.cookie('name','value') retu...

PHP Unique Computer ID

Is it possible for php(or javascript in the worst case) to create a unique id for a user that is not cookie or ip dependant. I have seen on myminicity.com that on each city the count only goes up once a day(it has a unique id for everyone i think) and even if I delete my cookies and refresh ip it still seems to detect me as visited alrea...

How to get cookie expiration date / creation date from javascript?

Is it possible to retrieve the creation or expiration date of an existing cookie from javascript? If so how? Thanks, Niro ...

variable or constant ?

Is there a benefit of using one over the other ? $lang = isset($_COOKIE['lang']) ? $_COOKIE['lang'] : 'en'; # OR define("LANG" , isset($_COOKIE['lang']) ? $_COOKIE['lang'] : 'en'); Thanks ...