The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
6 views

Cookies plugin don't show message

I''m not sure if this is the correct place to ask for my problem. I've been installed this plugin to my wordpress: Plugin link And it's work fine in others Wordpress version, but now I'm ussing ...
0
votes
0answers
15 views

Cookiechoices.js keeps reappearing without caching plugin

If you visit my site, there's a notification about cookies that you can click away and then it shouldn't reappear (maybe until you empty your browser cache). It used to work. I got the javascript ...
0
votes
0answers
16 views

Public page exposing wordpress cookies policy

I'm not interested in installing a plugin to show a popup that inform user with message: 'This website use cookie...'. In order to respect italian cookie law i should expose a link for each third ...
1
vote
1answer
625 views

Can't log in: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

After a server move, I'm unable to log in to my site. I get the "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress." error when I try submitting the ...
0
votes
1answer
394 views

Cookie set without HttpOnly flag

I try to add cookie information but i have no result. The tool sends me the same information. I trying to displayed the mention HttpOnly after path parameter => "Parameter : ...
1
vote
1answer
1k views

Subdomain login problems

Tonight I installed a clean copy of WordPress on my local machine, with the intent of trying to set up a subdomain multisite installation. (I've got lots of experience using subdirectories, but this ...
2
votes
2answers
28 views

Get user ID after logging in

I've been asked to add a sort of safety mechanism to a site where a user can only access their profile if they have a cookie set after logging in, and they can only have a maximum of 3 cookies. I've ...
0
votes
0answers
30 views

Set cookies based on visitor choose (first time visit site)

i am working on solution to set cookies based on visitor choose. when the visitor first time visit my site, popup uppers with "select branch". so when the visitor select the branch i make the ...
2
votes
1answer
35 views

jQuery cookie not working properly in wordpress

I make my own accordion menu with html + jquery its working perfectly to forth level, then i add a cookie code from net and do some extra work it also work 100% perfectly in html. My complete HTML + ...
0
votes
0answers
39 views

Cookie Domain is preventing Admin login

I just defined a Cookie Domain in my wp-config.php: define( 'COOKIE_DOMAIN', 'http://www.example.com' ); define( 'WP_HOME', 'http://www.example.com' ); define( 'WP_SITEURL', ...
0
votes
0answers
73 views

How can I set and use a cookie on page load?

So I can set a cookie using the below code, and use the cookie I have created when the page gets refreshed problem is I need to set the cookie and use the cookie when the user first loads the sites. ...
4
votes
5answers
7k views

How to validate a user from ouside wordpress/php?

I'm working on an ajax application that will be embedded in a wordpress page. The ajax app exchanges data with servlets running on tomcat. Now the servlets need a way to determine if a request comes ...
1
vote
0answers
54 views

wp_set_auth_cookie() doesn't work in Ajax call

I am trying to create a Facebook JS-SDK based auto login feature. When user is "Connected" passing FbID and aother user data to an ajax function which creates the session cookie. Cookie is created (I ...
1
vote
0answers
76 views

Removing username from the 'wordpress_logged_in' cookie

I am working with a client with some strict security measures. After undergoing security review, we were notified that the user name stored in the logged in cookie, e.g. ...
0
votes
0answers
74 views

is_user_logged_in() not working after domain change

I am relatively new to Wordpress and I recently moved a WordPress website from one domain to another. I went through and fixed all the links and references that I could find. Now my website has all of ...
0
votes
1answer
138 views

Set Short Automatic Logout Time for One User

I am building sites where I secretly give authoring role capability to visitors by auto-logging them into a generic account; they never see the admin bar, and are prevented from seeing the dashboard ...
2
votes
3answers
8k views

Setting custom cookies in Wordpress

I am trying to set cookies to re-route returning users to my a specific page within my Wordpress site. I'd like some advice with these 2 things: Where in the Wordpress php files should cookies be ...
1
vote
0answers
58 views

Login problems on multisite installation with different domains

I have a subdomain multisite installation in site.com, with subsites such as sub1.site.com, sub2.site.com etc. I needed to transfer one of these sites to an own domain, sub1.com. So I changed the ...
0
votes
0answers
53 views

Cookie not set error trying to login but only for one site of my multisite installation

As title stated, I've just moved my wordpress multisite install to a server that uses PHP 5.6. Everything went fine except that for one of my subdomain sites, which gives me the cruel cookie error at ...
0
votes
0answers
128 views

setcookie not working when defined with '/' but working if not defined

I have a very strange problem. I have this code in my functions.php. I followed the instructions and placed this code in the functions.php that was available in my theme folder in ...
6
votes
1answer
116 views

Is it possible to transfer a WordPress session to a different browser via query string?

Assuming a user has an existing WordPress session, is it possible to take the 'wordpress_logged_in_[hash]' cookie, encode it in a query string, and resume the session in a different browser? The ...
2
votes
1answer
634 views

Wordpress Ajax Login without page reload

I'm currently developing a Wordpress theme where I want the user to be able to upload images before he register or log in to the site. The initial problem was, you can´t upload images to wordpress ...
0
votes
0answers
32 views

Global Signup/Login in two wordpress site some like similar to stackoverflow?

I have two different wordpress installation at two different server one at mydomain.com and other at subdomain.mydomain.com having different database. My question is how I implement global ...
1
vote
2answers
756 views

ERROR: Cookies are blocked or not supported by your browser

I'm getting this error while trying to log in: ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. Yet I have cookies enabled and not ...
4
votes
2answers
623 views

Place a cookie when a specific page has been viewed?

I'm trying to direct new site visitors to a custom registration page for the their first visit only. The registration collects detailed information relating to an upcoming event, it is not designed to ...
0
votes
0answers
133 views

Why WordPress not logout after I have close my browser?

The default login cookie has expiry time as "session", so suppose when I close my browser, I need to login again when I visit wp-admin. But I've found that serveral time I've closed my browser (kill ...
0
votes
0answers
183 views

wordpress_logged_in cookie not being recognized in htaccess

On my website, I have a system implemented that requires users to login before viewing any files in the wp-contents/uploads folder, specifically pdf's and doc files only. In order to do this, I have ...
1
vote
1answer
171 views

Searching hook to set cookies before <head> and avoid “headers already sent”

I have written a plugin that sets cookies, and need to avoid the "Headers already sent" PHP error by placing the code at the very top before the head section. Themes usually place wp_head just before ...
0
votes
0answers
92 views

setcookie in functions.php does not accept arguments (variables) passed from WordPress page

I have a WordPress installation where a page (Page 1) displays certain fields from a selected user's profile (Not the logged in user but a user they have selected). A PayPal button is used to take a ...
0
votes
1answer
30 views

How to make use of Transient API as cookie

I want to use Transient API as cookie, but I want to know if it is the best practice,and how to make transient be unique or per user. Thanks
0
votes
1answer
207 views

How set a cookie from PHP and get it without refresh

I know that when use setcookie() function it create headers, and after refresh it will be available in $_COOKIES, but i need a mechanism to set cookie in this page without redirect, but to be in the ...
0
votes
0answers
198 views

How to use Cookie or Session php for one page and just a password

I'm looking for to use a cookie with wordpress 4.0 and it doesn't work.( OVH) I have read that Session or Cookie are deactivate by default inside the load.php folder. Somebody could tell me how to ...
1
vote
1answer
179 views

Change in permalink structure made javascript cookie not work correctly

My site needs a mechanism where a user is sent to agreement page when he visits the site for the first time. Once he accepts the agreement, it is saved in cookie. He can browse any page directly after ...
0
votes
1answer
163 views

Error : Cookies are blocked or not supported by your browser

I have a multisite WordPress installation. When I am logged in as a super admin from the main website, and go to the dashboard from the main site into another site, it asks me for login details. When ...
0
votes
1answer
74 views

Cookie with referral URL [closed]

I want to write referral URL to cookie and use it at some point to echo that referral URL on my website. What is the best way to achieve this? Thank you
0
votes
0answers
122 views

W3 Total Cache problem with password protected pages

well w3 total cache plugins is really nice and make my speed of loading more fast but seems Total cache have problem with password protected pages and posts . when the password enter and page load ...
1
vote
0answers
104 views

Website Loads Twice Unnecessarily

When I use tools.pingdom.com, I can see that my website is loading twice unnecessarily. The first time www.junkluggers.com is loaded, a cookie is set. Then part way through the loading process, ...
0
votes
0answers
94 views

!is_user_logged_in() fails

Updating to Wordpress 4 has broken this for me, and I'd like to understand how to fix it. The following code should redirect users when they are not logged in : <?php if ( !is_user_logged_in() ) ...
0
votes
1answer
153 views

Creating intro page in wordpress

I am trying to create a very simple "intro" page in wordpress which will display a 5 seconds video introduction and then will redirect to the homepage automatically. I saw that there are many plugins ...
0
votes
0answers
45 views

setCookie before headers are sent?

I was using this code in my plugin to set a cookie if a condition was met, however after updating to Wordpress 4.0 I got the message: Warning: Cannot modify header information - headers already sent ...
4
votes
2answers
114 views

How to Create a Cookieless Domain in Wordpress

How do you create a 'cookieless' domain for WordPress?
3
votes
1answer
309 views

Security error WP 4.0 + WP phpBB Bridge [closed]

so today I updated to 4.0 (glad I had backup). Everything was working fine until I tried to publish a post. There I got Are you sure you want to do this. Also had Cheatin' Uh under ...
1
vote
3answers
463 views

Prevent installation of style.css cookies and file caching

I'm having a problem which I have never encountered before. When I update my style.css file within my child theme, the webpage does not use the new style. I have pinpointed that to a cookie within ...
0
votes
1answer
131 views

How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment

How can you leverage wp_set_auth_cookie to programmatically login a user on a specific blog in a multisite environment? wp_set_auth_cookie doesn't allow you to set the target blog to authenticate the ...
0
votes
2answers
104 views

My php code is not being executed

I have a wordpress page that has this code in the text editor part of a web page: This page creates a cookie and houses a etst link that is only accessible to the holder of the cookie. &nbsp; ...
0
votes
0answers
41 views

Load post conditionally

I am working on a website which displays only 3 posts unless people subscribe for a newsletter. This is done by setting a cookie on validation and inserting this cookie conditionally in my queries. ...
0
votes
1answer
249 views

wp_logout action not working

I'm trying to remove some cookies set to control persistent login when the user specifically wants to log out of a website. I thought it would be as simple as: function remove_user_cookie() { ...
0
votes
0answers
30 views

Rss feeds outside the loop, how do I sort by most viewed? Cookie?

I have a wordpress site with aggregated Youtube and Vimeo clips. I use WP RSS Aggregator for this, who doesn't store anything in posts, therefor makes it hard to create a most viewed function. I was ...
1
vote
1answer
175 views

Current path on page in functions.php

How can I get the current path of my page? I know how to do it inside a template file, but I need it inside functions.php. And it has to be before the send_headers hook, because I'll use this info to ...
4
votes
1answer
486 views

Disable saving comment details (name, e-mail) in cookie?

The European Union has introduced a directive requiring that websites obtain permission for setting all 'non-essential' cookies. In the UK (where my site is based), the appropriate detail is explained ...