Jump to content

[SOLVED] something wierd about sessions.


spdwrench

Recommended Posts

ok my free dating site uses sessions

 

the thing is if I go from the site into the forum it automaticly logs me in no problem

 

if I am on http://abmatch.com

 

but if I click a link that directs me to http://www.abmatch.com the session is lost because of the www and vise versa is there a wait to make the session universal for both so if I jump back and forth it wont loose the session?

 

thanks for any ideas

 

Paul

Link to comment
Share on other sites

it definatly is the www

 

I just tested it again

 

if I log in with www.site when I click on a forum link to a members profile it takes me back to the site with www and I can email the person

 

if I log in without www the forum link links to the profile with www and the session is lost...

 

will this autostart fix this?

 

I will turn in on.. but I wonder why it is not already on? are there security issues?  what is the difference with the autostart if you could please.

 

Paul

Link to comment
Share on other sites

I figured out a way to do this

 

instead of the profile link going back to http://www.site.com/profile123\

 

 

I just need to modify php BB2 so that the website link does not require http:

 

then all I do is make the link like this ../profile123

 

and the session good

 

thanks for the suggestion anyway guys

 

Paul

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.