cookies

Can't get cookies with php curl from www.dramexchange.com

I can get cookie from the others but not from this site www.dramexchange.com? Anybody know why? Maybe someone can do it with php and curl? :> $ch = curl_init(); curl_setopt($ch, CURLOPT_COOKIEJAR, "cookieFileName"); curl_setopt($ch, CURLOPT_URL,"http://www.dramexchange.com"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); ob_start(); ...

How to get Google cookies having the user and the password?

The tool I'm developing would do a thing similar to when you join Facebook and they ask your GMail username and password and with it they can grab all your contacts. But my tool doesn't use a browser, therefore it is difficult to get the proper headers. I assume that the Google application (Orkut) checks only my Cookies and Identity(ip,...

Persist javascript variables between GET requests ?

ASP .NET is allowed Storing the values in hidden input fields is allowed Query String is not allowed POST request is not allowed It is possible to store JS variables between GET requests ? I want to reinitialize them on the client using ClientScript.RegisterStartupScript Can I use cookies for this ? Are there other posibilities? Where...

PHP Session/Cookie problems with Windows XP, Vista, IE and certain users...

Hi guys, I've mentioned it on here before, but still have the problem, so have added some extra info :) We have a local intranet site that everyone on the network uses, maybe 5% (or even less) of the users that use the site have problems where the session isn't stored properly. I've tried defining a path manually and whereas most user...

ASP.NET Cookie Sub-Value Deletion

How to delete a specific value in a specific cookie in ASP.NET? For example: I have a Cookie named 'MyCookie' and it contains the values 'MyCookieValueOne', 'MyCookieValueTwo', 'MyCookieValueThree'. Now I need to delete the value 'MyCookieValueTwo'. What should I do? Can we use any of the following properties to achieve this? Reques...

Working with ASP.NET Cookies collection

What are the differences between Request.Cookies["MyCookie"].Value Request.Cookies["MyCookie"].Values ?? ...

Does Java provide some sort of Register\"Cookies" for storing of temporary data?

Does the Java provide some sort of registry- or cookie mechanism where I can store small pieces of data to load next start I start an java application- or applet? For example the application settings such as last opened file etc ...

How can i pass an authentication cookie to an ADO.NET dataservice in Silverlight

I can pass a cookie into my silverlight application from another asp.net page, but i need to add it to the request header of my dataservice... This was easy in ASP.Net, but in Silverlight it seems that i can't manipulate the request header private void Authorize() { Cookie dataServiceAuthCookie = new Cookie(HtmlPage.Docu...

Why does Safari let you set cookies over 4kB?

I set up an A/B test which required a fairly large amount of data to be stored in a cookie temporarily. While testing my code, I managed to get the cookie over 4kB. Safari set the cookie. On the subsequent page load, Apache returned an error since the cookie was too large. I tested this on Firefox as well and it simply ignores the cooki...

Cookie Blocked popup in IE

I have a website hosted in a server named msa_inst_server. In my login page ,after user enter the username,i will check whether cookies are available or not,But when i access the login page in IE 6.0 in one machine in the local network,I am getting a pop up saying that I have added the site to trusted zone,changed the settings to all...

Delete cookie from browser?

Is there any way of instructing a web browser to completely delete one's cookie set with PHP? I do not want to expiry it or wait for the browser to be closed. With delete I mean to actually not have it listed inside the cookie's list anymore. ...

How do you ask an external program to open a file being served through a web browser? What about detecting if the external program is installed?

Hello Folks, I have a two part question. The first I think I have an okay answer to.... I am looking to force an external program to be called up to view a configuration file for an application my company is working on. The basic gist I guess is to set the Content-type header to type that your application is associating with, and then ...

Calling Firefox XPCOM from external app?

Context: we need to read Firefox cookies in our app; until Firefox 3.5, this was possible by reading cookies.txt / cookies.sqlite. In Firefox 3.5, it exclusively locks the cookie file so outside apps can't read it (see https://bugzilla.mozilla.org/show_bug.cgi?id=476167), and even if we make a local copy, FF doesn't always flush the cook...

Django logout(redirect to home page) .. Delete cookie?

I redirect the user to the home page after logout. In between I would like to delete all/or specific client cookies (I have previously set). def logoutuser(request): logout(request) return redirect('app.home.views.home') To call response.delete_cookie('user_location'), there is no response object. How do I do this? ...

How to use SetEnv with a URL parameter

I'm trying to implement language switching in .htaccess, and the only thing left now is to handle clients which don't support cookies. To do that, I must set prefer-language when the user clicks a link with a language parameter. RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} (?:^|&)language=(en|fr|no) RewriteRule ^(.*)$ $1?...

Securing Cookie Based Authentication

I am currently re factoring one of my web applications and I was hoping for some advice on improving my security. I'll note that the application is in ASP.net and the current implementation prevents me from using integrated authentication. This is also in no way an application that requires high security, I just like having my bases cov...

How to get Javascript cookie to remember DIV state?

Hey there: I've got a test site here (still in development) and I'm trying to get the little notification at the top to stay hidden once you click close. Currently my script is like this: <style type="text/css"> <!-- .hide { display:none; } .show { display:block; } --> </style> <script type="text/javascript"> <!-- var state; window.on...

WPF WebBrowser Cookies to be used in WebRequest

I try to construct WebRequest to a web page after successful logging in to secured web portal via WPF WebBrowser control, but stuck with the problem of reusing WebBrowser cookies in WebRequest. Unlike WinForms, in WPF WebBrowser control there is no way to extract CookieCollection via WebBrowser.Document.Cookies because Document object ...

Google Analytics cookies vs subdomain for static content

Hello I have a website on www.example.com and use Google Analytics. I've also set up static.example.com which serves all static content. The problem is that the default behavior of GA is to issue cookies on ".example.com" but I don't want the static content traffic to be carrying the weight the GA cookies. I tried pageTracker._setDoma...

setcookie("user", "", time()-3600) not working

I tried to use setcookie("user", "", time()-3600) to delete a cookie from php, but it's not working for me, when I check in the tool of the broswer, the cookie seems to still exist. Does anyone know why? note: this is the domain cookies.. mean I set this cookies with this way setcookie('user','true',time() + 2592000,"/",".user.com",0);...