need code for login and logout with session time out
hi..
i need code for login and logout where session should be timeout after some time..
and
if someone copied url and used that to log in then it redirect to main page it should not work with out prior username and pwd..
thank you..