Cookie use to skip intro page?

Anything related to dev. & that doesn't fit in below categories.

Cookie use to skip intro page?

Postby snowdrop » Sun Jan 22, 2012 15:06

I'm thinking about using a cookie that is set when people visit the intro page (wtactics.org), so if that has been visited earlier it will forward the user to the blog instead... good or bad idea?
User avatar
snowdrop
developer
 
Posts: 618
Joined: Mon Feb 01, 2010 15:25
Location: Sweden

Re: Cookie use to skip intro page?

Postby aspidites » Sun Jan 22, 2012 17:27

From a technical aspect, I can't comment.

From a user's point of view, I have but two words: DO EEEET!
aspidites
 
Posts: 92
Joined: Mon Apr 11, 2011 22:39

Re: Cookie use to skip intro page?

Postby Knitter » Mon Jan 23, 2012 20:35

I think it is a good idea, though I would try to have a way for the user to reach the intro again without having to delete a cookie.
Rejoice! For very bad things are about to happen.
Knitter
developer
 
Posts: 72
Joined: Mon Jan 17, 2011 11:26
Location: Leiria, Portugal

Re: Cookie use to skip intro page?

Postby Q_x » Mon Jan 23, 2012 21:44

It's a good idea, but...
What if a person would want to watch the intro for a purpose?
Your beloved Q_x, the tasmanian devil
User avatar
Q_x
developer
 
Posts: 316
Joined: Thu Sep 23, 2010 15:10

Re: Cookie use to skip intro page?

Postby aspidites » Tue Jan 24, 2012 02:18

This is Knitter's realm, but I'll try anyways:

Wouldn't it suffice to have two html pages, say blog.html and intro.html then query for the cookie value, such as "firstVisit" or whatever, redirecting as necesssary? In this way, users going to wtactics.org or wtactics.org/index.html (or php, whatever) would be directed accordingly, but those wanting to see the intro could simply go to wtactics.org/intro.html (or php)? Or is it not as trivial as I'm suggesting?
aspidites
 
Posts: 92
Joined: Mon Apr 11, 2011 22:39

Re: Cookie use to skip intro page?

Postby Knitter » Tue Jan 24, 2012 10:34

Q_x wrote:It's a good idea, but...
What if a person would want to watch the intro for a purpose?


That is why I mentioned having an option to see the intro that the user could use. This way if the user has already seen the intro but wants to see it again he/she can just click on the "intro" option.
Rejoice! For very bad things are about to happen.
Knitter
developer
 
Posts: 72
Joined: Mon Jan 17, 2011 11:26
Location: Leiria, Portugal

Re: Cookie use to skip intro page?

Postby snowdrop » Tue Jan 24, 2012 20:56

aspidites wrote:This is Knitter's realm, but I'll try anyways:

Wouldn't it suffice to have two html pages, say blog.html and intro.html then query for the cookie value, such as "firstVisit" or whatever, redirecting as necesssary? In this way, users going to wtactics.org or wtactics.org/index.html (or php, whatever) would be directed accordingly, but those wanting to see the intro could simply go to wtactics.org/intro.html (or php)? Or is it not as trivial as I'm suggesting?


Yes, it is that simple. At least with my newb skillset the way I'd do it is to just SET a cookie on their first visit.

Every time they visit the site the browser will check to see if the cookie exists. If it does, it forwards them to /news instead. If the cookie does not exist, then load intro page, set the cookie, and then do nothing.

I agree that the intro page should be available somewhere from within one of the drop down menus should anyone want to view it again for some reason.

Nice, I'll give it a go next time I'm in tinkering-moode.


Edit: Changed theme and overall site look. This isn't needed any more...
User avatar
snowdrop
developer
 
Posts: 618
Joined: Mon Feb 01, 2010 15:25
Location: Sweden


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron