cookies

Trouble with PHP and Cookie set as Variable

I have this script to check that a cookie is on the computer, and then use the info from that cookie to take someone to the right page on my website. Here is the code <?php if (isset($_COOKIE["name"])) $name = $_COOKIE["name"]; header("location: names/$name/$name.php"); else echo "You have no name"; ?> When this script ...

Codeigniter, $_SESSION arrays

Hi , i'm trying to use native $_SESSION arrays in Codeigniter beacause i can't use $_COOKIES arrays, so i made my own class but seems that Codeigniter continue to save data on cokkies cause if i disable browser cookies i can't retrieve $_SESSION data :O !! incredible....i can't understand why? is codeigniter stopping or removing all $_SE...

Javascript: What will happen if the size of cookies exceeds the size allocated for Cookies in a Browser ?

The Title says it. ...

remembering page state (checkboxes, show/hide panels) using cookies and jquery

I have a page that has panels that can be set to visible or hidden. There are also some checkboxes that need to be either checked or not. I want this state to be stored in a cookie, what's the best way to do this? ...

persistence in .net forms authentication, doesn't work when machine key resents

Persistence doesn't work in my web application on one server while it does on another. On the server that it doesn't work on (a shared hosting environment), the persistence is lost anytime the app pool recycles. When it recycles the machine key changes automatically and that affects the encryption of the cookie. When the machine key chan...

Rails Cookie detection?

Hi i'm newbie with rails amd just realized that my Rails App that i created with a beginner tutorial needs cookies to work properly, otherwise after submiting a form it gives the error ActionController::InvalidAuthenticityToken. How can i implement in an easy way a cookie detection? ...

Cookie probelm in Windows Seven using all types of browsers!

I have made a site in PHP and I'm using cookies for logging in/out. It works great on all types of browsers in Windows XP but the case is vice versa when it comes to Windows Seven. It doesn't log in when I use this part of code: setcookie("var_name","var_value"); And I have to define an expiry time like this: setcookie("var_name","var...

Session issue when cookies are disabled in asp.net mvc

Whenever cookies are disabled in my browser and then i try to login on login page it unable to create session and so unable to login in system. Then i change the cookie setting to <sessionState cookieless="true" timeout="20" /> in my web.config and then try to login Post action of the login function it doesnt call and whenever i inpu...

<fb:like> + cookie restricted page

Hello! I'm having problems with integrating the Facebook Like button. My website is being restricted by a cookie ( meaning that the user has to go through a age verification page before getting into the actual site ). I have all the required meta tags in the pages header, everything's good! My problem is the following: when I integrat...

Different types of browser storage

From this slideshow http://slides.html5rocks.com/#slide8 and from Chrome: View > Developer > Developer Tools > Storage tab, I learned that there are at least 4 types of browser storage: Databases, Local Storage, Session Storage, Cookies (are there more?) What are the differences? When should I use one over the other? For example, if a...

Can IWebBrowser2 store cookies in a user specified folder?

I am working on a small web browser on c++ using IWebBrowser2, the problem is that when I delete cookies on my browser, they get deleted for IE, and I dont want to interfere with IE cookies. Is there a way to solve this? ...

Android Http get Session Cookie

I didn't really want to post here as there is so much information on the net, but I've trawled the depths and can't figure it out. Ok so I can't get this to work in two scenario's hopefully the answer is the same for both. My problem is I set the request header but it doesn't seem to send it. I have a session id s=e32ff223fwefd3 , and...

IWebBrowser2 and cookies in IE

Hi, We use IWebBrowser2 to display web pages but it seems to not able to see the same cookies as normal IE sees. For example, if I log in Facebook in IE and check on Remember Me, the next time I open IE and go to Facebook then I will still stay logged in. However, if I use IWebBrowser2 to go to Facebook, I am not logged in anymore. I...

Is there any problem with security if I store userid ,username and other such kind information in cookie

Is there any problem with security if I store userid,profileId,username and other such kind information in cookie. ...

Retriving cookie value form Desktop Application

I stored value in the cookie and can login from my site. But i am trying to get the cookie value from my Win App but it does not return any cookie value. The code that i have used there is given Value HttpWebRequest webRequest=(HttpWebRequest)WebRequest.Create("http://localhost:9699/CokieTest/Default.aspx"); webRequest.Method = "Post";...

Is there a way to find Awesomium cookies?

I use embedded Awesomium 1.01 in game application to authorize it in Facebook through OAuth and then use Graph API. Now I need to update the game so that you don't have to login again every time you launch the application (Of course, I don't store app "access token" between two launches of the application). 1) I can achieve that if I ha...

Storing Product List through out session

Im using MVC ASP.NET C#, jQuery I'm building what could be decribed as the simpliest shopping cart in the world. Basically My Clients wants users to be able to browse the site, Click on a product they want and it be added to a "list" and then when they "Checkout" they simply fill in a form and it emails my client with the list of produ...

sub-domain cookies, sent in a parent domain request?

Are sub-domain cookies sent in a parent domain HTTP request? For instance, say I have the cookies: Name Value Domain (not https) ABC 1 .example.com XYZ 0 foo.example.com DEF 0 bar.example.com Would [email protected] and [email protected] be sent along in the HTTP-header cookies on a ...

Force Firefox to drop SQLite lock from cookies.sqlite

I'd like to delete certain Firefox cookie. The problem is I'd like to do it when Firefox is open. When I try to access the cookies.sqlite I get the database is locked error. Is there any way I can force Firefox to drop the lock without closing firefox? ...

Do session cookies expire when the browser is closed?

I have a PHP application where I set $_SESSION['user']="logged" once a user is authenticated. I call this loginpage.php. Once authenticated and the session variable set, the user is taken to a member page which starts with the lines: <?php session_set_cookie_params(0,'/'); session_start(); if($_SESSION['user'] != 'logged') { header ("L...