Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6871323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:47:28+00:00 2026-05-27T03:47:28+00:00

hey people i’m using a jquery plugin for creating cookies which seems to be

  • 0

hey people i’m using a jquery plugin for creating cookies which seems to be working perfect when i run it on localhost but when I tested in the server it’s not working as i expected.

below is my file testcookie.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<link rel="shortcut icon" href="3.ico">
<script type="text/javascript" src="js/iepngfix_tilebg.js"></script>
<script src="js/jquery-1.4.2.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script> 
(function($) {
$(document).ready(function() {

$.cookie("example", "foo");
alert( $.cookie("example") );

});})(jQuery);
</script>
</head>
<body>hello there</body>
</html>

result= no alert

here’s the demo
http://namadda.com/demo/testcookie.php

onething i noticed just now is that click view source and all the script link is working but jquery.cookie.js isn’t showing up, instead i’m getting error 406 when i clicked jquery cooke link on view source page. But it’s present on server like other plugins.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:47:29+00:00Added an answer on May 27, 2026 at 3:47 am

    The best solution is renaming jquery.cookie.js file to something like jquery_cookie.js

    It was the best solution for me, because I don’t have permission to modify mod_security

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey, I'm working on an iPhone app but I've heard from some people that
Hey Guys. I have got a problem on using the jquery auto-complete plugin.my problem
Hey, I'm using a html form that is used to log people into my
Hey everyone, I'm using Virtual PC and working with a virtual hard disk (*.vhd)
Hey right now I'm using jQuery and I have some global variables to hold
Hey people, i have a the following map* which is giving me lots of
Hey folks, I have a question which feels stupid but I can't quite say
Hey I am creating a demo to display the benefits of using a pivotviewer.
Hey guys, I've seen a few people bring it up but haven't found a
Hey people yesterday i was working on some code and thought that i would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.