Welcome to WebmasterWorld Guest from 107.20.104.161

Message Too Old, No Replies

Benefits to loading cookies in advance?

     

Sgt_Kickaxe

3:55 am on Jun 8, 2013 (gmt 0)

WebmasterWorld Senior Member sgt_kickaxe is a WebmasterWorld Top Contributor of All Time 5+ Year Member



You may have noticed that when you visit a Google property, such as adsense for example, that your cookies have been checked in advance, before you enter your information, but on forums like this one, as with most sites, the cookies are checked when required.

example:
- Clear cookies and turn them off
- visit google.com/adsense
- turn cookies on
- enter login information
= result: a message saying you must enable cookies even though you did before submitting your info

vs
- Clear cookies and turn them off
- visit webmasterworld.com
- turn cookie on
- enter login information
= result: you are successfully logged in because cookies were not checked until required.

I was just wondering what the benefits are to sites like Google's from checking cookies in advance on login pages?

lucy24

9:23 am on Jun 8, 2013 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



When you say "your cookies have been checked" do you mean "the site has already tried to write a cookie"?

I don't think a site can ask, in an abstract hypothetical way, whether you accept cookies. It can only try setting one and see what happens.

Sgt_Kickaxe

7:18 am on Jun 9, 2013 (gmt 0)

WebmasterWorld Senior Member sgt_kickaxe is a WebmasterWorld Top Contributor of All Time 5+ Year Member



I mean Google will set several cookies the instant you visit the page including a youtube cookie and google+ cookie even if you are on neither of those services. If cookies are turned off when you visit the adsense login page and you then turn them on before entering you information Google returns a cookie error.

On WW the cookies aren't checked or set until after you press enter with your login info, which is more normal. Google does the deed when you first hit the site and I was wondering why since some may not log in etc. They don't wait for you to try to log in.

Try it out.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month