hi,
Thanks for ur reply,
I am using "smarty " in my programming(but not that much perfect in php).
In my code..
I am creating a session if the 'username' and 'password' are valid and giving access to that user.Then registering those two variables.then i want to close the session when that user choses "logout" option.after displaying the page it is giving "Page has expired".After clicking the "refresh" button again I am getting the actual page.
and my another problem is after logingout also same thing is happing.
i am not sending the code because the code is very leanthy.
Please help me out to solving my problem.