cookies

PHP form validation + cookies = Firefox cache problem?

I have a simple form validation class in PHP. It works like this: A: form page that POSTs results to VALIDATION page VALIDATION: checks results. If wrong, set cookies with the name of the fields that are wrong and the message for each input error. Go back to A form page by using headers location property. A: if the cookies are present...

HttpWebRequest POST and Cookies

Hi am trying to make an application that post data to a joomla login page but the only thing i get back is cookies is not enabled. Function GetPage(ByVal Url As String) As String Dim CookieJar As New Net.CookieContainer Dim enc As Encoding = Encoding.GetEncoding(1252) Dim Data As Byte() = Nothing Dim PostData As String ...

.NET Membership: Best way to Implement "I know you but you're not logged in"

Sites like ebay and amazon.com Know who you are with a message like Hello, Bob. Please log in. ... but they also know you haven't authenticated yet for this session. What is the best way to implement this in an ASP.NET application using the Membership API/Framework? I can think of a few ways to go here, but my primary concern is to no...

CURL Authentication being lost?

I am authenticating a login via CURL just fine. I have a variable I am using to display the returned HTML, and it is returning my user control panel as if I am logged in. After authenticating, I want to communicate variables with a form on another page within the site; but for some reason the HTML from that page is returning a non-authe...

Can't find my cookie when logged in

Hi On my web site (asp.net mvc), I use cookie to store search pattern. when I switch from login or not I get a new cookie , because the one created in the other 'environment' is not found. I'm testing on localhost so I don't know if the problem will persist when setting the domain. How come Logged in or not matters for cookies that ar...

Cookie session in rails is it the same as cookie or session ?

I am reading "Agile Web Development with Rails, 3rd Edition" and confusing about session-cookie. On page 474 it has a topic about cookie detection and they talk how to handler cookie-disabled user. And they come up with cookie session idea which from my understanding is a fake session that act as a cookie right ? What I don’t understan...

Creating a cookie using jquery to store name/value pairs of information

I need to store a cookie that has the following information: key1: datetime key2: datetime key3: datetime How can i create and access the cookie with the above properties? I need to manipulate this cookie via javascript (I am using jquery). (side question, javascript cookie work is 'live' correcT? i.e. it doesn't need a postback to c...

what happens when cookies file exceeds maximum size?

What really happens when cookies file exceeds maximum size? ...

.Net TreeView control - storing the data on the client side

I will have a TreeView control where the user can add/delete nodes, then click the Save button, which will save the data entered into the database. Normally, I would be saving the TreeView data inside session object while the user is editing it, but the way our web servers work, the session can not be relied on (I have been told NOT to ...

create, read, and erase cookies with jquery

some body help me. how to create, read, and erase some cookies with jquery ...

Cookie available in the same request/response

Hi All, I have found a strange behaviour (strange for me, a novice :D) in my project. Basicly after an action I create or update a cookie (if it exists or not) and send it to the client. The strange thing is that in the jsp I can read the cookie ONLY when I update its value (and I get the updated value, not the old one) but not the fir...

Modal box + checkbox + cookie

I would like to achieve the following: On homepage load, display modal box Within modal box, display a form with a single mandatory checkbox On checking the checkbox, hit submit and close the modal box, proceed to homepage Remember this checkbox tick preference using a cookie On a users return to the homepage, if they have checked the ...

Is there a simple way to clear the cache/cookies *JUST* for a specific website in Firefox?

It would be extremely useful for web development. ...

C# - Delete Cookie

How can I delete a specific cookie from within my application? Everywhere I look for this turns up being for web development. ...

Are HTTP cookies port specific?

I have two HTTP services running on one machine. I just want to know if they share their cookies or whether the browser distinguishes between the two server sockets. ...

Accessing Facebook Connect FBML cookie via PyFacebook?

Is it possible, having logged in via a Facebook Connect FBML button, to retrieve and use the session details via PyFacebook? Can i use auth.getSession() in the same way as if I'd fired the login via Python? Basically I'm trying to work out if it's possible to replace the stages up to and including raw_input() in the example below: imp...

Storing persistent data in browser

For my web application, I need to store form inputs spanning across multiple pages, until I finally process/manipulate them to produce some results (its mostly formatting the data entered and presenting it in some layout). The options I think I have are - Keep sending user's inputs to the server, store it there in some database, do the...

Resuming session with an AJAX call

My app has a session timeout after 30 minutes. If the user has a "permanent login" feature activated, then on a subsequent HTTP request the server reads the "perm session" cookie and restores the session. However, if the user does not reload or navigate to another page after his session expired, but rather clicks on a button that retrie...

Forms Authentication - Display currently logged in user information in FormView using Object Data Source

In my web application I use Forms Authentication with a cookie. In a page I wish to display the information for the currently logged in user, inside a FormView powered by an ObjectDataSource. My data source has a select method accepting as parameter the user name by which the user data will be requested from the database. How do i get th...

Jquery cookie deletion using plugin

Hi, I am having a little bit of problem deleting a specific cookie. I have created the cookie successfully but the problem is deleting the cookie when a specific del id has been invocked. This is the complete code, can someone please point out what I am missing and if possible, guide me by helping me fix it? jQuery(function($){ ...