By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,830 Members | 1,013 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,830 IT Pros & Developers. It's quick & easy.

Blocking the address bar using sessions

P: 1
I have created a login page.User shouldn't be able to move to the next page until all the contents are filled...but, when there is no content in the form, and if i give the link to the next page directly in the address bar its going, but it shouldn', i need to block the address bar. Can anybody tell me how to block it using SESSIONS...
Aug 7 '18 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 5,327
Can you post your code?
Remember to format it using the [CODE/] formatting tool.

You can replace specific URLs with something generic when you post the code.
Aug 7 '18 #2

Expert Mod 10K+
P: 12,335
You can't block the address bar with PHP. You need to check if they've logged in before loading the rest of that page. Redirect them to another page if they haven't logged in yet.
Aug 7 '18 #3

Post your reply

Sign in to post your reply or Sign up for a free account.