accessing a cookie from another domain
Moderator: General Moderators
accessing a cookie from another domain
so far i've read it's not possible. i've got gmail and if i go to gmail.com i get redirected to my account at gmail.google.com/gmail. anyhow, if the cookie is set by gmail.google.com which is 'google.com' then how can 'gmail.com' read it?
am i making sense? =\
-Nay
am i making sense? =\
-Nay
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Directly accessing "http://www.gmail.com":
Code: Select all
HTTP/1.1 301 Moved Permanently
Location: http://gmail.google.com/
Set-Cookie: PREF=ID=4149330d4cddcc0e:TM=1088261472:LM=1088261472:S=uQfq_1qHkHRAYvt4; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Content-Type: text/html
Server: GWS/2.1
Content-Length: 154
Date: Sat, 26 Jun 2004 14:51:12 GMT
<HTML><HEAD><TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://gmail.google.com/">here</A>.
</BODY></HTML>Re: accessing a cookie from another domain
Off topic, but how do you get a gmail account right now? On gmail.google.com they say that you cant yet sign up. So how did you get an account?Nay wrote:so far i've read it's not possible. i've got gmail and if i go to gmail.com i get redirected to my account at gmail.google.com/gmail. anyhow, if the cookie is set by gmail.google.com which is 'google.com' then how can 'gmail.com' read it?
am i making sense? =\
-Nay
Re: accessing a cookie from another domain
From what I read gmail invitations are given randomly to the users of blogger.comsnpo123 wrote:Off topic, but how do you get a gmail account right now? On gmail.google.com they say that you cant yet sign up. So how did you get an account?