Welcome Guest, Not a member yet? Register   Sign In
How to tell is this is a user's first visit?
#1

[eluser]FlashChilli[/eluser]
Hi everyone,

I'm new to CodeIgniter and I'm amazed how much faster I can develop PHP with it, I just have two questions.

1. Is there a way to tell if this page load is a user's very first visit to this website? (I'm using the sessions class and Redux Auth). I know that you would need to check if a cookie exists or not but, if it didn't then wouldn't it be created by the session class before your code is executed?

2. Oh dear, I've forgotten my second question. I'm sure I'll remember it soon... I hope : )


Messages In This Thread
How to tell is this is a user's first visit? - by El Forum - 07-05-2009, 11:06 AM
How to tell is this is a user's first visit? - by El Forum - 07-05-2009, 11:10 AM
How to tell is this is a user's first visit? - by El Forum - 07-05-2009, 11:17 AM
How to tell is this is a user's first visit? - by El Forum - 07-05-2009, 12:00 PM
How to tell is this is a user's first visit? - by El Forum - 07-05-2009, 12:28 PM
How to tell is this is a user's first visit? - by El Forum - 07-05-2009, 12:39 PM
How to tell is this is a user's first visit? - by El Forum - 07-05-2009, 12:43 PM
How to tell is this is a user's first visit? - by El Forum - 07-05-2009, 02:32 PM
How to tell is this is a user's first visit? - by El Forum - 07-06-2009, 05:57 AM
How to tell is this is a user's first visit? - by El Forum - 07-06-2009, 06:22 AM
How to tell is this is a user's first visit? - by El Forum - 07-06-2009, 06:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB