/    Sign up×
Community /Pin to ProfileBookmark

How to create session and check session in add, delete, user page

I have created 5 php programs called as login.php, index.php, adduser.php, modifyuser.php, deleteuser.php.

Login.php is login page for admin.

index.php checks for login validation from mysql database and contains links to add, modify and delete user.

Now I need to create session in index.php

So how to create it.

Also adduser.php, modifyuser.php, deleteuser.php should redirect user to login.php, if these pages are tried to opened without loging in browser.

So how to add session verification in adduser.php, modifyuser.php, deleteuser.php.

Regards.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@siabanieJan 25.2011 — Hi Pra123,

I wonder if you have found the solution of your inquire as I would like to know as well how this can be done? If you did, can you please share them to me?

Thanks.
×

Success!

Help @pra123 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...