Query on how to use sessions

krish80's Avatar, Join Date: Mar 2009
Newbie Member
I have two table one which has username and password and the another one has simply a set of records.

Table 1
username password
krish krish

Table 2
username record 1 record 2
krish 11 80

I want to create a simple login page which logs in and will show both records in table 2.
Some one told me to use sessions, but i didnt figure out how to do that.

help me...

thanks in advance

shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Check out Login and Logout using Sessions and Cookies