We are launching a new web site using a sub-domain and need to ensure that users logging in to the original (main domain) site, are also authenticated in the new site.
I believe I need to ensure all related web.config settings (forms authentication, cookie names etc) are the same in both applications and also manually set the machineKey...
javascript:void(document.cookie="PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com");
...
javascript:void(document.cookie=”PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com”);
How to eliminate the result of the statement above by writing another Javascript statement?
...
How to remove the cookie set by
javascript:void(document.cookie=”PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com”);
The following statement doesn't work.
javascript:void(document.cookie=”PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0...
Hi, i was wondering what the best way is to implement a hit counter for articles, products, etc. Now if someone visits the page the counter just adds one in the database. If someone refreshes the page it counts continuously, misleading results, and unnecessary reads, writes.
I was thinking of storing their ip, but i don't know how to mo...
Hi All,
I have a simple (yet somehow convoluted) issue. Basically I'm adding items to make my web app more "desktop-like". For instance, right now I'm trying to get a page to dynamically load info into a DIV based on previously selected items. I'm currently using a cookie to handle saving the data, but I can't for the life of me get ...
Hey,
When I log onto some sites, ex. http://mysite.com and then go to http://www.mysite.com, I'm not logged in? But if I switch back to http://mysite.com (without the www's) I'm logged in again?
Anyone know why this is or how to make it so that if you log in on one, you're logged in on both?
Thanks,
Matt
...
So I am trying to implement easy_swf_upload but I'm running into an error right away. There's a session key, which is defined like this:
session_key = RAILS_GEM_VERSION < "2.3.0" ? ActionController::Base.session[0][:session_key] : ActionController::Base.session_options[:key]
Since I have the most recent version of rails I get the sec...
I have a classifieds site, and on the main page I want the last visited ads by the existing user to show up.
How would I do this?
Basically, it has to be something like this:
User clicks on an ad.
The ad ID gets saved in a cookie.
Then, when clicking on another ad, that ad ID gets saved also.
Then, whenever visiting the main page, th...
I have a classifieds website, and when users click on an ad, an array element containing the ad id is set to a cookie.
Then on the main page, the 'last visited ads' is shown.
Problem is, I have a limit on the nr of 'last visited ads' ( set to 10 ).
So, if the cookie array contains more than 10 elements, I want the elements to be repla...
Hello!
I'm having trouble creating a non-persistent cookie using the FormsAuthenticationTicket. I want to store userdata in the ticket, so i can't use FormsAuthentication.SetAuthCookie() or FormsAuthentication.GetAuthCookie() methods. Because of this I need to create the FormsAuthenticationTicket and store it in a HttpCookie.
My code l...
Hi,
Just wondering what people would suggest for an approach for a WinForms client that will have to interact with my web application (ruby on rails, which will use AuthLogic for authentication).
For example options such as:
* authentication each HTTP request,
* gets a token for the session until it times out
* other?
This can be t...
Why when set php cookie path to "/" doesn't work for every subdirs in the domain, but just for the current diretory.
cookie is set like: setcookie("name", "val", expire_time, "/");
it just doesn't want to work.
Any help appreciated.
...
How to Expire a Cookie in 30 min ? I am using a jquery cookie.
I am able to do something like this.
$.cookie("example", "foo", { expires: 1 });
This is for 1 day. But how can we set expiry time to 30 min. Please help. Thank you.
...
I have a cookie saved to the user as follows...
Dim searchCookie As HttpCookie = New HttpCookie("SearchCriteria")
searchCookie.Item("SearchText") = FullSearchCriteria.SearchText
searchCookie.Item("SearchType") = FullSearchCriteria.SearchType
The SearchText stores a value they have input in a previous page. We have observed if there is...
Hello All,
I've recently run into some problems with the CookieContainer. Either I'm doing something seriously wrong or there is some kind of bug w/ the CookieContainer object. It doesn't seem to update the cookie collection with certain Set-Cookie headers.
This might be a lengthy post and I appologize, but I want to be as thurough a...
I have downloaded the IBM P3P editor, created files and uploaded them to my server. And cookies are still not recognized in Internet Explorer. I've checked the P3P validation tool and it seems to validate.
The application can be viewed here: apps.facebook.com/naplesnews and the iframe points to www.naplesnews.com/facebook/app/.
Again w...
I need some code here. I need to delete these blasted cookies once and for all.
WebBrowser wb = new WebBrowser();
wb.Navigate("www.cookieparadise.info");
//load
string cookie = wb.Document.Cookie;
//cookie = "this=cookie1;that=cookie2;etc=more;";
I need to delete Document.Cookie.
Please dont suggest any javascript because it doesnt wo...
Is there any utility out there that would allow me to easily view/edit/delete cookies in Internet Explorer 8?
In Firefox, I use the Web Developer Toolbar, but I can't find anything that would let me quickly view and delete cookies in IE.
I'm trying to debug a PHP page, and this would come in really handy.
...
Hello everyone,
The question that I have is very basic: Is there a way to inform the web browser that the content of the cookie has changed?
I don't want to keep looking at the file and check if it has been updated because it'll cause performance degree on my app.
Thanks in advance!
...