logged in or out

Hoi all,

I am experimenting with an online shop but i only want users that are logged in to be able to access the site shop.

So the website has to check if the user has already logged in or not coming forma VB6 background my first idea was to create a global variable but I don抰 think JAVA does Global variables, so I searched for session variables but there is no good sites that offer help on the subject or I am just asking the wrong question to the search engine.

what I want is a way to determine if a user is logged in or not

thanks to anyone who can help me

[596 byte] By [Wernsa] at [2007-10-2 3:18:24]
# 1
Check out the following article:[url= http://www.javaworld.com/javaworld/jw-07-2004/jw-0726-security.html]J2EE security: Container versus custom - Choose the appropriate type of security for your application [/url]
yawmarka at 2007-7-15 21:45:52 > top of Java-index,Java Essentials,New To Java...