Jump to content

simple question


spdwrench

Recommended Posts

I am using a variable $sAuth

 

to login member of my site from one script into another...

 

is this secure?

 

can this variable $sAuth by set from anywhere else but within my own site???

 

I know it probally sounds like a dumb question but please let me know....

 

Paul

Link to comment
Share on other sites

little more information it appears the sAuth is a cookie it looks like this...

 

setcookie("sAuth", $fMember[ id ]);

 

this cookie is set on my site when members log in...

 

but I want to use it to identify them in PHPBB3 (Forum)

 

and sign them in automaticly

 

will this be secure?

 

thanks

 

Paul

Link to comment
Share on other sites

my problem is... the users log in to my dating site

 

then when they click the forum they are prompted to log in again...

 

so would the answer be to find the login area's of both sides? and make sure sessions for both are started when they sign in either the forum or the site... or vise versa...

 

this seams the only logical way then?

 

thanks

 

Paul

Link to comment
Share on other sites

It sounds like the problem is you want to use both session management for each script; it would be better to pick one of the existing ways that sessions are handled then implement that into the second script. Since you want to authenticate with phpbb3, I'd just use its session management and add it to your other script.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.