Click here to Skip to main content
15,912,977 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: How can create smtp and pop3 protocol? Pin
l a u r e n14-Jan-04 13:08
l a u r e n14-Jan-04 13:08 
QuestionHow to access Remote Database Pin
tmhai11-Jan-04 22:45
tmhai11-Jan-04 22:45 
AnswerRe: How to access Remote Database Pin
l a u r e n14-Jan-04 13:10
l a u r e n14-Jan-04 13:10 
GeneralHTTP_REFERER Does not want to work Pin
Brendan Vogt11-Jan-04 21:48
Brendan Vogt11-Jan-04 21:48 
GeneralRe: HTTP_REFERER Does not want to work Pin
Marcie Jones12-Jan-04 7:57
Marcie Jones12-Jan-04 7:57 
GeneralRe: HTTP_REFERER Does not want to work Pin
Danoo12-Jan-04 23:42
Danoo12-Jan-04 23:42 
GeneralRe: HTTP_REFERER Does not want to work Pin
Brendan Vogt13-Jan-04 23:31
Brendan Vogt13-Jan-04 23:31 
GeneralRe: HTTP_REFERER Does not want to work Pin
l a u r e n14-Jan-04 13:15
l a u r e n14-Jan-04 13:15 
pseudocode:

<?
chk_user_logged_in("this_page_name.asp")
blah blah
?>

at the start of every page that needs a logged in user

a common file u include everywhere:

function chk_user_logged_in($referer)
{
// do the logged in check (cookies etc)
if (!logged_in)
do_user_login($referer)

return;
}


the login function / page
<?
// process login form and get user credentials
redirect($referer)
?>


hope that explains it
its real easy when u see the light
Smile | :)

<hr size='1' color='darkblue'><font color=black><small><i>"there is no spoon"</i><br><a href="http://www.8028finder.com" target="_new"><small><b>biz stuff</b></small></a>   <a href="http://www.8028finder.com/lauren" target="_new"><small><b>about me</b></small></a>
GeneralRe: HTTP_REFERER Does not want to work Pin
Anonymous15-Jan-04 2:20
Anonymous15-Jan-04 2:20 
GeneralRe: HTTP_REFERER Does not want to work Pin
l a u r e n15-Jan-04 5:24
l a u r e n15-Jan-04 5:24 
GeneralRe: HTTP_REFERER Does not want to work Pin
Brendan Vogt15-Jan-04 2:25
Brendan Vogt15-Jan-04 2:25 
GeneralASP User Impersonation Pin
Member 81243911-Jan-04 3:02
Member 81243911-Jan-04 3:02 
Generaljavascript question... Pin
l a u r e n9-Jan-04 20:49
l a u r e n9-Jan-04 20:49 
GeneralRe: javascript question... Pin
Paul Watson10-Jan-04 2:27
sitebuilderPaul Watson10-Jan-04 2:27 
GeneralRe: javascript question... Pin
l a u r e n10-Jan-04 5:45
l a u r e n10-Jan-04 5:45 
GeneralRe: javascript question... Pin
Maximilien11-Jan-04 9:40
Maximilien11-Jan-04 9:40 
GeneralRe: javascript question... Pin
l a u r e n11-Jan-04 12:28
l a u r e n11-Jan-04 12:28 
GeneralRe: javascript question... Pin
alex.barylski11-Jan-04 17:54
alex.barylski11-Jan-04 17:54 
GeneralRe: javascript question... Pin
l a u r e n11-Jan-04 18:11
l a u r e n11-Jan-04 18:11 
Generala better use of css Pin
Nathan Ridley12-Jan-04 15:44
Nathan Ridley12-Jan-04 15:44 
GeneralRe: a better use of css Pin
l a u r e n5-Feb-04 13:44
l a u r e n5-Feb-04 13:44 
GeneralRe: javascript question... Pin
Paul Watson11-Jan-04 20:04
sitebuilderPaul Watson11-Jan-04 20:04 
GeneralRe: javascript question... Pin
l a u r e n11-Jan-04 20:31
l a u r e n11-Jan-04 20:31 
GeneralRe: javascript question... Pin
ZoogieZork10-Jan-04 7:13
ZoogieZork10-Jan-04 7:13 
GeneralProblem: difference in behavior between ASP.NET &amp; .NET EXE calling SOAP::Lite web service Pin
claughlin9-Jan-04 6:05
claughlin9-Jan-04 6:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.