urgent-session variables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
atul
Forum Newbie
Posts: 1
Joined: Wed Sep 22, 2004 12:36 am

urgent-session variables

Post by atul »

hi,
anybody tell me the solution of using session variables.
i have login page after matching the password of particular user i want to store the username in session variable by that i can use that session variable on next pages.
and how can i destoy a session without session_destroy().because some times user click the browser close button whitout clicking on logoff button.
that create a problem for me when again the user login a error occurs
"session is not registered"
because session variables not automatically destroy from
session_data folder.
please help me
atul
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

bumping your post after 7 hours is not the best idea here.

we've talked about this ad nauseum. [devnet]+destroy +session[/devnet]
Post Reply