Determine if session exists

Reply

Join Date: Nov 2006
Posts: 12
Reputation: AnzJ is an unknown quantity at this point 
Solved Threads: 0
AnzJ AnzJ is offline Offline
Newbie Poster

Determine if session exists

 
0
  #1
Nov 7th, 2006
Hey Guys,
For my counter, which is written in php, I need to check if a session exists. That way, a user clicking around the site won't increase the counter with each click.

Is there any way to check if a session already exists, so that i can increase the counter only when a new session is created?

Thanks!
Rock On
~AnzJ
Reply With Quote Quick reply to this message  
Join Date: Nov 2005
Posts: 66
Reputation: guideseeq is an unknown quantity at this point 
Solved Threads: 0
guideseeq guideseeq is offline Offline
Junior Poster in Training

Re: Determine if session exists

 
0
  #2
Nov 7th, 2006
Use in-built function session_is_registered()
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC