Is it possible to store instances of a class in a cookie or in shared objects.
Basically in my application I have an object "Diagram" that the user can create. If they hit save, I want to store the current instance as a cookie and allows them to reload it later.
Alternatively, I could see about getting them to store the saved version o...
Hello,
I have two domains. One domain contains the login script. It creates a cookie when logged in. Another domain have a URL shortener.
So, on the 2nd domain that have the URL Shortener script have a file called session.php. Usually I was using $_COOKIE['sessionid'] to get the session id and match it using database.
How can I get th...
Hi,
Since today I am facing a tricky issue with Google Chrome that I've just updated to v5.
I have a user login process running on my website. Everything works fine on FF 3.6.x and IE 7, but I just can't set any cookie in Google Chrome 5. I'm mentioning 5 because it worked very well before on v4.
My PHP script looks like that:
$cook ...
Is there a way to get the .ASPXAUTH value programatically.
Example I login to a website with my own credentials (POST) and then read the response...it does not return the .APSXAUTH in the CookieContainer that I use to track the session.
Anyone has a clue how can I get it and send it with the subsequent gets and posts?
[EDIT] here's wh...
Rails is setting and returning a remember_token cookie like this:
= cookies[:remember_token]
= value6c69b17681d2bf316f8eexpiresThu Jun 10 14:55:00 -0400 2010
In other words, when I'm calling the cookie I don't just get the value. Why is this?
I am setting the cookie as follows:
cookies[:remember_token] = { :value => @user.remember_...
Okay, I am not getting any response with my original wordy wordness...
Can you execute script before setting cookies, or must it be the absolute first thing?
Can you set cookies, and is it practical, with $_POST or $_GET
if not practical...or secure...what can I do to make sure my cookies are set securely (at least more secure than th...
I am trying to build a web site in both English and Bulgarian using the Django framework. My idea is the user should click on a button, the page will reload and the language will be changed. This is how I am trying to do it:
In my html I hava a the button tag <button id='btn' onclick="changeLanguage();" type="button"> ... </button>
An ...
I have a DOB 'Are you over 18' script which when the form is filled out, validates if they are over 18 or not for a tobacco site I am working on. When this form is filled it stores a cookie 'ageCheck' with a value of either true or false. I'm having some issues with a bit of javascript which is stored on all the pages to determine if the...
Possible Duplicates:
Cannot modify header information - headers already sent, Why its happening
Warning: Cannot modify header information - headers already sent by error
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\atseit\irankiai.php:3) in C:\xampp\htdocs\atseit\iran...
I have tested this on my development computer, but now I have uploaded everything to the production server and I cant read out the value of the cookie.
I think the problem lies in the Serialization and Unserialization.
if (isset($_COOKIE['watched_ads'])){
$expir = time()+1728000; //20 days
$ad_arr = unserialize($_COOKIE['watche...
Hi Guys,
I am implementing a solution basically for x-domain sign in using iFrames. So its like domain A.com is served into an iFrame in Domain B.com with the aim that a user who is logged in a Domain A.com is also logged into B.com iframe.
At the moment - its working fine in FF and Chrome - but IE is causing me headaches. So I have a ...
Hi Guys,
I have a domain A.com which is my website. I want to allow the user to login and then I have embedded an iframe into domain B.com which attempts to grab the cookie from A.com to allow the user to be continued to be signed in.
I can't seem to get this working in IE ? A new session gets set instead and the cookie is never retrie...
Hi Guys,
I have a domain A.com [my website] and a remote website B.com which integrates an iframe from my domain [A.com] with a piece of javascript.
I want to share cookies across these domains [within the iframe]? How would I go about doing this so it works properly? I thought A.com and B.com are in the same-origin policy ?
...
I just did an audit of one of my web application page (built using ASP.Net and running on development server) using Google chrome's developer tool. One particular warning caught my eyes:
Serve static content from a cookieless domain (5)!
Here is my screen shot (http://yfrog.com/7eauditresultp) as well. I would like to know is it possi...
Hi,
I have a website A.com and a domain at B.com with a widget inside an iframe getting data from A.com. I want to allow x-domain cookies to be passed from a.com to inside the iframe using ASP.NET
My understanding is that - I can do this in IE using P3P Headers - such that the A.com cookie is passed to the iframe and session | cookie d...
Just wondering if it is possible to track what the user does on other sites. Say for example a user comes to my site and I track his actions with a cookie. Now is there any way that I can track this user's activities after they have left my site?
...
Hi,
I have a site on A.com and an iframe on B.com which reads info from A.com. I realize that there is some problems with third party cookies, iframes and P3P - particularly in Safari [my problem]
Is it possible to instead, use AJAX or a hidden iFrame to pass the cookie information from A.com to B.com which will then "recreate" anothe...
I have a site on A.com and an iframe on B.com which reads info from A.com. I realize that there is some problems with third party cookies, iframes and P3P - particularly in Safari [my problem]
Is it possible to instead, use AJAX or a hidden iFrame to pass the cookie information from A.com to B.com which will then "recreate" another cook...
I am interested to see what people are storing in my session and cookies when I visit websites. Is there any way to see what's in there between request and when I'm on pages in Safari, Chrome, or Firefox?
...
Hey there folks,
Here is one that is throwing me for a loop. I am trying to set a simple cookie that has one name:value pair on IE8. Tested on FF and it works fine. IE8 keeps blocking it.
I have read about the P3P stuff and created a basic P3P doc, no errors reported by the IBM tool, and added the following on all pages:
<meta http-eq...