i have a problem checking a session. i want to check if the session
exists, and then redirect somewhere, but in the if-loop, if the session
doesnt exist, i become an error
im trying to do something like:
if @session[‘user’] == nil
but as i said, the loop doesnt work, because i become the error before
how can i check, if a session exist or not?