423,103 Members | 1,428 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,103 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't...so, i need to block the address bar. Can anybody tell me how to block it using SESSIONS...
1 Week Ago #1
Share this Question
Share on Google+
2 Replies


zmbd
Expert Mod 5K+
P: 5,202
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.
1 Week Ago #2

Rabbit
Expert Mod 10K+
P: 12,235
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.
1 Week Ago #3

Post your reply

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