Jump to content

popup login


jagguy

Recommended Posts

I can do it that way but here are my problems.

 

q)I don't want the user to get access to unrestricted pages by typing in an url of one. How can I stop this?

 

q) Having the passwords stored in a table or a table for each login and password user?

 

q)what is wrong witha php popup , does this provide extra secuirty problems? I still can't find the code to do this.

Link to comment
https://forums.phpfreaks.com/topic/57537-popup-login/#findComment-285630
Share on other sites

q)I don't want the user to get access to unrestricted pages by typing in an url of one. How can I stop this?

A) You set a session variable once they have confirmed the login details at top if secure page do some like

if(isset($_session['secure']))

{

}else

{

//redirect them back to login that way they will allways be longed in

}

 

q) Having the passwords stored in a table or a table for each login and password user?

A) Again yes store them in a table one table all passwords i personally would use a extra field to set level permissions if you only want them to get access to certain areas

 

 

q)what is wrong witha php popup , does this provide extra secuirty problems? I still can't find the code to do this.

a) again it really depends on how you do it if its all java it can becuse you could see the database details in php u can not.

 

again if you want to use a java pop up use a hidden form value to pass between the 2 langs is way i would do it if you cant find a good example of how to do this ill try and dig one up

 

Waz

 

hope this helps

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/57537-popup-login/#findComment-285661
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.