Home > Web Front-end > HTML Tutorial > How to share data between web pages without a server_html/css_WEB-ITnose

How to share data between web pages without a server_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:43:33
Original
1390 people have browsed it

I used html jQuery to do it. I need to share data between several pages. I used $.cookie, but it doesn’t seem to work. Can someone please solve it?


Reply to discussion (solution)

If several pages are in the same domain name and in the same process, it is OK. However, COOKIES cannot be shared between multiple processes and different domain names

You will generally use server technology SESSION CACHE and other methods to achieve such needs

url parameters, html5 client storage, cookies

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template