jquery - Storing and accessing user-specific data across multiple domains -


i've been developing userscript display sidebar on websites develop, tell things whether site meant aa, browser support etc etc. internal use only. limited using classic asp , jquery / javascript.

my problems follows:

  • there law coming in means best clients not know cookies being used script.
  • the database team not happy creating new database (or extending main one) script.
  • it has come attention maximum number of cookies per domain around 50 browsers; bearing in mind thinking of storing data on per-site, per-server or servers, take on 50 cookies script alone.
  • i have heard there 'mini database' facilities in html 5 - of our websites on html 4 not option.
  • if go down database route, not able use 1 single database - have 1 database per server. reckon syncing difficult, using 1 page sync servers using many iframes (i believe, although not 100% sure, if user navigates away page prematurely, iframes terminate request data may not updated - feel free correct me if i'm wrong).
  • data needs stored permanently.

we have set follows (very simplified representation):

  • a.b.com (server 1, own domain)
  • b.b.com (server 2, own domain)
  • c.b.com (server 3, own domain)
  • d.b.com (server 4, own domain)
  • jobs.a.com (url mask)
  • careers.b.com (url mask)
  • e.m.com (server 1, own domain)
  • f.m.com (server 2, own domain)
  • g.m.com (server 3, own domain)
  • h.m.com (server 4, own domain)

based on above, have suggestions best way able sync data , store as need on per-user basis? note this, ideally, needs work greasemonkey on firefox, chrome, opera , trixie on ie (6-9). ie 6-7 not absolute musts, preferable.

if needs permanent , not want clients able see store info client side storage out of question. has stored server side..

ao need is:

  1. a way of uniquely identifying users cross domain.
  2. a server side storage of sort

the first 1 using third party cookie (like google , facebook track on multiple domains). on each site include link (0x0px iframe, small imgage or else) calls service on tracking server. first time user visits site, set long lived cookie. cookie send tracking server every time uniquely identifying user. third party cookies must enabled on browser work though.

the second 1 have database or file of sort. i'd if cannot use datebase create service on 1 of machines (the tracking server) , let 1 write info disk. poor mans solution files hard query.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -