nuttynibbles wrote: i tried using session but still cant get it to work. is there any other method?
Well... I'm sure you could try using normal cookies, though I would definitely recommend using sessions - this is the type of situation they're pretty much made for.
Try to implement sessions again. Look at the man page for [man]session_start[/man] and try to follow it. If you still can't get it, post the relevant sections of code you altered and we can help you fix it up.