Avatar of genesisvh
genesisvh
 asked on

Web form

I have a form that only registered users are allowed to use. How can I keep the public from using the form from simply putting in the url.
HTMLPHP

Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon
Dave Baldwin

You have to have a login system that will redirect anyone who isn't logged in.
Francisco Igor

How do you check if a user is registered??
genesisvh

ASKER
Yes I do have a login system and I do have sessions. I was thinking of a way to restrict that form from non users.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Dave Baldwin

Then you need to put a login check at the top of that page and redirect if they aren't logged in.
genesisvh

ASKER
Can you give me an example of a login check?
ASKER CERTIFIED SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.