Why is dot needed to make a cookie available among subdomains?
We need to set the domain as .example.com to make it available for *.example.com, but why not example.com? ...
We need to set the domain as .example.com to make it available for *.example.com, but why not example.com? ...
This works: var d = new Date(); document.cookie = name + "=1;expires=" + d.toGMTString() + ";" + "; path=/"; But this doesn't work: function deletecookie(name) { var d = new Date(); document.cookie = name + "=1;expires=" + d.toGMTString() + ";" + "; path=/"; } deletecookie(name); Why it doesn't work after wrapping in a func...
I get this: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/zxq.net/w/e/e/weedcl/htdocs/index.php:3) in /www/zxq.net/w/e/e/weedcl/htdocs/common.php on line 2 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at ...
hey guys im wondering if i can delete all my website's cookies when user click on logout because i used this as function to delete cookie but its not functioning properly setcookie("user",false); is there a way to delete one domain's cookies in php ?! ...
I want to use session object in my web app.I want to store some cookies too(Some custom informations) .How can i use both without the URL not being modified like http://www.example.com/(S(lit3py55t21z5v55vlm25s55))/orderform.aspx In my ASP.NET page, I am setting some session variable Session["customerId"]="Some name"; Then i am tryi...
Hello, I am coding a python (2.6) interface to a web service. I need to communicate via http so that : Cookies are handled automatically, The requests are asynchronous, The order in which the requests are sent is respected (the order in which the responses to these requests are received does not matter). I have tried what could be e...
I am using Curl (libcurl) in a C++ aplication, and am unable to send cookies (I think). I have Fiddler, TamperData and LiveHTTP Headers installed, but they are only useful for viewing browser traffic, and are (it would seem) unable of monitoring general network traffic on a machine, so when I run my machine, I cant see the header infor...
Hi, I'm trying to create a cookie and it's not working. This is what I do: NSDictionary *properties = [NSDictionary dictionaryWithObjectsAndKeys: @".myurl.com", NSHTTPCookieOriginURL, @"\\", NSHTTPCookiePath, @"myCookieName", NSHTTPCookieName, @"ABC", NSHTTPCookieValue, nil]; NSHTTPCookie *cookie = [...
How can I set a cookie in PHP that is readable both in HTTP and HTTPS? If this isn't possible, what can be done? Set two cookies? ...
So my issue is that Ajax.Updater doesn't update the divs I want to update in IE8 when using link_to_remote. Things work correctly in every other browser. The call completes server side, but the html div isn't updated. My code is as follows: link_to_remote( d.strftime("%d"), :url => {:action => 'show', :date => d}, :update => {:succ...
My Web pages causes following error on the browser's Back Button, It works fine for firefox but not on IE, IE Says, Most likely cause: •The local copy of this webpage is out of date, and the website requires that you download it again. What you can try: Click on the Refresh button on the toolbar to reload the page. After refres...
Hello, i want to build a website with following features: 2 Frames. 1 Frame with am edit box and a button. The second frame should show a page whitch is secured by username/password. Is there a possibility that a sepcified user is always logged on? The problem is: I can't edit any thing on the page of the second frame. I have to use ...
By default, ASP.NET will set its cookies to use "mydomain.com" as their base. I'd prefer to have them use "www.mydomain.com" instead, so that I can have other "sub.mydomain.com" subdomains that are cookie-free. I've done some digging into the Session and Cookie objects, and while I can find how to set the domain for a single cookie, I ...
One of our clients would prefer not to have any cookies at all on the public portions of their website. Of course for the back-end tools we use session state extensively, but it's not really necessary for the public parts of the site. Is it possible to just turn off session state for anonymous visitors, but leave it on for logged-in us...
Hello, I've been trying to learn how to use PHP sessions but I'm going around in circles. I understand that a session cookie can be given a lifetime ('session.cookie_lifetime') and that after that lifetime the cookie expires regardless of if a user interacts with the site. I would therefore assume to set this to 0 to indicate they should...
Hi, I have a problem and I want to resolve it with jQuery. I have a some Links on the page, and want to get the "text" from the link what was clicked. But I need this text to use on another page. Because when I click this anchor I leave this page , and I go to another one, and I need to use this "Get link text" on the second page. I ...
Hello, Less or more I am building my site heavly on sessions(especially for redirecting users etc), I am curious if this a dangerous practice. What would be the rough percentage of users who have disabled their cookie saving with their browsers ? I am open to any suggestions :) Thanks ...
We're using a cookie for some non-sensitive convenience data about our site visitors. We emit three values: 1) creation date (in ticks), 2) user data, JSON serialized, 3) validation hash We're seeing a fair number of requests coming in with only half a cookie. They contain the full date and truncated user data, something like {"Foo":fal...
What is the best practice when designing a mission critical signup form when it comes to using django-powered sessions? Is it generally considered ok to require the user to accept the session cookie? Are there any tips to maximize the percent of users who can accept the session cookie? ...
How can i set the Windows Forms webbrowser control to block or allow cookies for the site it will navigate? ...