cookies

do sessions work when cookies are disabled?

if the user has disabled cookies in the browser, do sessions work? cause i know there is a session cookie in the client when i create sessions. ...

Can't log in to Magento Admin

Hi All, I'm having troubles logging into Magento's admin panel on one of our staging sites (it works 100% on our webdev servers and was working just fine not too long ago on the staging server as well). I've done some research, and most people suggest that it's got to do with running Magento on a localhost and browsers not saving cooki...

Rails save object to cookie

How can I serialize an array or an object and then save it into a cookie? cookies[:mydata] = serialize({ :key1 => 'tralala', :key2 => 'hahaha' }) Thx! ...

JQuery.cookies library

Hi, I'm trying to use the JQuery cookies library http://code.google.com/p/cookies/ But am not able to set key value pairs within the cookie. I can't see how in the documentation, does anyone know how? Thanks ...

Sessions, Cookies & Codeigniter

Sorry, if this question is naive (I'm a newbie): In codeigniter session data are saved in a cookie by default. But there must be also a file on my server (named as the session id) to verify that the data (in the cookie) is valid, or am I wrong? I'm searching for the location where the sessions are saved. I've already looked in the "ses...

JQuery.cookies setting a key value pair

Hi, I'm trying to use the JQuery cookies library http://code.google.com/p/cookies/ But am not able to set key value pairs within the cookie. I can't see how in the documentation, does anyone know how? Thanks ...

Best way to allow authentication to a site from a cookie in PHP?

I know this is a basic question so it should be a basic answer. I have always done a user login system using sessions only, I would like to now make it an option for a user to stay logged in when they come back to my site if they choose to by using cookies. I am not sure the best way of doing this but I have a small mockup of the basic...

jQuery Expandable/Accordion Nav Menu with Multiple Levels and Remembers Menu State

I need to make an expandable menu that has multiple levels using jQuery. It also needs to remember the last state it was open to if you refresh the page or jump to a new page. I know there is the jQuery Cookies plugin but I'm not sure if the client wants cookies to be used. I found an example online but I can't figure out how to accommod...

Windows Identity Foundation: How to get new security token in ASP.net

I'm writing an ASP.net application that uses Windows Identity Foundation. My ASP.net application uses claims-based authentication with passive redirection to a security token service. This means that when a user accesses the application, they are automatically redirected to the Security Token Service where they receive a security token...

How should I manage username/password session information?

Hi all, I have a website (the basic gist of which is described in this question), and I want to have some way to store the username and some information about the user consistently while they use the site (ie, upload and download data). Right now, given a successful login, I was returning the hash of the password as well as any associa...

issue with cookies

Its actually a question from the OsCommerce...There is a feature which helps us to get a seo friendly URL by storing an ID (OscId) in a cookie & not displaying it in the URL... but when this is enabled, the browser does not allow this use.. can you please help me with why this might be possible.. why cant a cookie store a value?? ...

Create a text file on client-side programatically

We have a Ruby-on-rails server-side deployment that needs to allow users to download a pre-compiled self-extracting Windows EXE file on their computer. We also need to generate a text file dynamically (based on the users id) and deploy it somewhere on the client machine where the EXE can find it. We have 2 options: Generate this tex...

Set and Read/Retrieve cookie using javascript within a java file(.java)

Let me refrase it. i am writing a new http-server using sockets in java-language(not javascript) and i want to tell client to set cookie. I would like to do that in javascript(setin reading the cookie). If that is not possible, Are there other solutions? Thank you all. ...

Refeshing a page to a new state

I have a written a blog using php and mysql which has a login feature. When you are logged out and hit back it should not show the features of a member since you are no longer logged in. How do I correct it so that when a user is no longer logged in and hit back button, the previous page should be in the state before he logged in? ...

Parsing cookie headers in J2ME/BlackBerry apps

When using an HttpConnection in a BlackBerry app, you often get HTTP cookies in the response headers. Unfortunately there are no built-in APIs to assist with the parsing of the cookie headers. Has anyone found a third-party library to assist with the parsing of the cookie header(s) into a more useful data object? Creating some custom ...

Problem retreiving cookies from HttpResponse

I have a controller action that I call via Ajax in which I set a cookie like this: Response.Cookies["Notifications"].Value = "false"; Response.Cookies["Notifications"].Expires = DateTime.Now.AddYears(1); In another controller action I am checking for this cookie like this: if(Request.Cookies["Notifications"] != null && Request.C...

Recommendation for freeware software to view cookies in IE7

Please can you recommend a good program to view cookies in IE7? In particular I need to: View a specific per-session cookie View its contents Delete the cookie ...

Clear session cookies with Selenium IDE?

I'm writing Selenium tests for an ASP application, and would like to test the cases when a session isn't properly initialized. Right now I'm clearing the cookies manually, but that is becoming a bit cumbersome. (ok, to be honest I forget it every fifth-or-so time and have to re-run the tests...) Is there a way in Selenium IDE to clear ...

What is the location of session cookies in IE7?

Should I be able to see per-session cookies, created by IE7 (on Vista) here: C:\Users\myUsername\AppData\Local\Microsoft\Windows\Temporary Internet Files That is where my standard cookies are stored. ...

Can greasemonkey delete cookies from a given domain?

Can greasemonkey delete cookies from a given domain? If so, how? ...