Hello
A web site was developed and deployed to client. In some cases, I need to set the flag HttpCookie.HttpOnly = true. Okay - I have done it. Next question:
Is Cookie available after setting flag in JavaScript?
or maybe some restriction when I am using JavaScript?
or do I need to make some changes in existing JavaScript?
...
hi,
is there a safe way of storing passwords in cookies in php?
or is it not recomended?
thanks
...
I want to identify on my login page that user browser cookies are disabled, so i can display a message that enable your cookies and then try to login, how to do this? Im using asp.net mvc-2
...
I'd like to use the evercookie javascript library to receive the users cookie and make the spring security rememberme-service use it.
I read a bit about implementing a custom remember-me service, but I think I just need to discover the cookie on the client-side using the evercookie library. I've got zero knowledge about cookie handling,...
hi,
here is my sample code.
i m checking the code for null user ID, still it is getting executed....!
if (!IsPostBack == true && Request.Cookies["UserID"] != null)
{
string userID = Request.Cookies["UserID"].Value;
myPageBL.GetFriendRequests(userID); // this can never be null, but is taking null
}
...
Hi everybody!
I've got two different forms on my website: one for submitting a general inquiry and another one to order stuff. By clicking a radio button the user can choose the form he/she needs.
I created the form in a content management system which checks if the textfield-data is entered correctly after submitting the form. If the ...
Hello,
two years ago I had to design a system to share authentication data across multiple domains, all of them shared the same server/db. I was able to pull this off with a complex system of cookie sharing which, to date still works.
I'm now in the process of redesigning the system and I was wondering if there are better ways to achie...
So, I've tried many many things, but still always end up with Cookies that have the duration set to "Session" when looked at with Developers Tools in Google Chrome. Here are my current settings:
core.php:
Configure::write('Session.cookie', 'session');
Configure::write('Session.timeout', '3600');
Configure::write('Session.start', true);...
I would like to store an authentication token in a session cookie. I'm using google app engine and restlets. I've done a few searches, but I have no idea even where to begin.
I would like to:
Store the token in a cookie
Read the cookie when the client makes a request through restlet
Also, is the session cookie the correct place to...
I have a multi-step form, let's say for the sake of ease it's 2 steps. First step I want to select a radio button and based on that radio button selection it takes me to a certain page, but I also want that selection stored in a session. I have 2 pages:
page1.php
session_start();
if(isset($_POST['post'])) {
if (($_POST['country'] == ...
Hi All
I have been working using openFrameworks, on a problem that is posted on the forum:
www.openframeworks.cc/forum/viewtopic.php?f=8&t=4765
Essentially, I have used an an set of files, ofxHttpUtils, which uses poco to post to web forms.
The example code I have used is at:
github.com/arturoc/ofxHttpUtils/blob/gh-pages/example/src/te...
I am trying to remove a cookie called "session" to logout a user.
request.cookies.pop('session', None)
response.set_cookie('session', '', max_age=-100, domain='.example.org')
response.set_cookie('session', '', max_age=-100, domain='www.example.org')
response.delete_cookie('session', '', domain='.example.org')
response.delete_cookie('ses...
I need to know if the users of my website has logged to facebook in the past 30 days.
Can I know this through facebook cookies or in another way ?
...
On an Apache server, I have set of Profile pages within a folder protected by htaccess (/main/profile). After a user updates their profile, I want to set a $_SESSION['timelineuser']= or a session cookie for use back in the main folder of the site (/main/) which is unsecure.
On the unsecure page I want to check to see if $_SESSION['timel...
I have a white-labelled Rails app that allows me to create a variety of different new websites, each with their own TLD, but all powered by the same app. It's an ecommerce app so all orders are processed on a single, different TLD.
For example, I might have three TLDs:
domain_a.com
domain_b.com
domain_c.com
and orders are processed o...
Can anyone comment on how Amazon S3 tracks for its client-id that it logs via HTTP? Assume it sets cookies and matches to a surrogate numeric ID for reporting?
http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/index.html?AccessLogs.html
...
I'm developing an app using android 2.1.
I have a problem with using session cookies to login to a RESTful web service. The code works fine on the emulator, but when I run it on my HTC Magic, the cookie logic doesn't work. I've confirmed that the magic is receiving cookies in the headers by listing them (see attached). Can anyone say wh...
In Django's settings I can specify the domain that is used for session's cookie - like it is stated here. It's quite useful for me, as I have subdomains defined that should share the cookies with master domain - so I define the SESSION_COOKIE_DOMAIN = '.domain.com'.
What I bumped into now is the requirement to serve many domains - like ...
Hi, I'm using Uploadify to upload the file
But I'm not able to get the right session of the user.
So is there any solution for that?
I have look around and have saw some suggest that include the session_name and session_id into the scriptData: {'session_name' : 'session_id' } but it didn't work out.
Thanks for help
...
I want to store connection string in cookies. But only server part is visible when i retrieve connection string from cookies. Can i store connection string in cookies? Based on company and unit i want to access database connection string and store it in cookies. so that for specific company there is specific connectionstring.
Please Help...