Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 09-15-2014, 07:48 AM
kontrol's Avatar
kontrol kontrol is offline
Contributing Member
 
Join Date: 02-10-10
Posts: 225
iTrader: 0 / 0%
jquery.cookie not working on server

i am using jquery.cookie plugin to set cookies. on my localhost it works nicely but it does not work on the server when uploaded.
here are examples of how they are set:
PHP Code:
$.cookie("cook""value");
$.
cookie("exp""value", {expire:7});
$(.
cookie("box""walls", {path:"/"}); 

Last edited by snakeair; 09-15-2014 at 04:04 PM.
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 09-18-2014, 07:01 AM
Dadee Dadee is offline
Banned
 
Join Date: 04-16-13
Posts: 65
iTrader: 0 / 0%
cookies saving not on server, it saving in user browser
 
Reply With Quote
  #3  
Old 09-25-2014, 03:39 PM
brealmz's Avatar
brealmz brealmz is offline
Contributing Member
 
Join Date: 04-10-07
Posts: 90
iTrader: 0 / 0%
how about setting the value for the domain?

$(.cookie("box", "walls", {path:"/", domain:"www.mydomain.com"})
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple jQuery Slider not working. tomcool32 Coding Forum 1 07-24-2013 04:21 AM
Jquery Quit Working scgroove Coding Forum 8 07-26-2012 07:21 AM
why my jquery is not working in IE mimo91 Web Design Lobby 2 07-07-2011 07:50 AM
Jquery Slider not working Exoclyps Coding Forum 6 11-11-2010 03:37 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:29 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC