[Project_owners] Specific cookie for specific tab

Jesper Staun Hansen jesper at selvet.dk
Tue Jan 29 15:22:44 PST 2008


Hello.


I was wondering if this is possible:
For a specific tab is one specific cookie like this used;
CookieName: Userinfo
CookieValue: User=Brian&pass=Brianisusingalousypass

And for another tab is this cookie used;
CookieName: Userinfo
CookieValue: User=TheAdmin&pass=TheAdminHasABetterOne

Has anyone ever tried this before? And is it even possible? It actually 
should be possible, but how would I manage to tell this tab to be the 
admin and the other to be Brian.
Should be able to manipulate the http headers manually, but missing the 
know-how.
This isn't much help: 
http://developer.mozilla.org/en/docs/Setting_HTTP_request_headers Or I 
am just misreading it all.
I can't tell how to overwrite a specific header-response from that link.
And another thing i need to do is to avoid that Admin cookie overwrites 
Brians cookie in the cookie database.

So, any thoughts?




More information about the Project_owners mailing list