Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Cookies Problem

Asked Modified Viewed 2,438 times
P
pacal
P
pacal 10
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Newbie

same network users, when one logs on, enters the other one session, deleting the cookies only result the first time.

someone please help me, whith the cookies configuration at maincore

something like, one user one session and only one/diferent cookie per session ???
0 replies

8 posts

C
chbe
C
chbe 10
------------------------------------

thebasement.gryt.com
  • Member, joined since
  • Contributed 161 posts on the community forums.
  • Started 4 threads in the forums
answered
Member

Don't really get you're question.
When a user logs in and closes the browser window without logging out then (if i remember it right) a cookie is set that lasts for 3 days. The only way to clear it is to log out else the user stays logged in.
If the check-box is checked a cookie is set that lasts for 30 days. Same procedure here to clear it the user has to log out.

0 replies
P
pacal
P
pacal 10
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

tanks, but i need to cancel the cookies of the my page because i have users in the same network, if not, the last user enters in the session of the first that have log in, (whith the browser open)

i think that can be done in maincore.php file ???

can you help me?
0 replies
C
chbe
C
chbe 10
------------------------------------

thebasement.gryt.com
  • Member, joined since
  • Contributed 161 posts on the community forums.
  • Started 4 threads in the forums
answered
Member

Maybe not a cookie problem. Could it be a cache issue? Try hitting ctrl F5 to reload the page to see if you actually are logged in. If this is the problem you can solve this by adding this to maincore.php so that you're pages aren't cached

Quote

header ("Cache-Control: no-cache"wink;



Edit: Forgot to disable smileys smile
Edited by chbe on 22-11-2006 21:02,
0 replies
P
pacal
P
pacal 10
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

tanks, im a beginner, but in what line of the maincore.php can i put the header, im trying whith no results.
0 replies
C
chbe
C
chbe 10
------------------------------------

thebasement.gryt.com
  • Member, joined since
  • Contributed 161 posts on the community forums.
  • Started 4 threads in the forums
answered
Member

Before you edit maincore did it help to hit ctrl F5 ?

As it is a header command to the browser its important that you put this line before any echo parts. I should put it under the ob_start(); line.
0 replies
P
pacal
P
pacal 10
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

no, it didnĀ“t work, if i clear the cookies it works the first time only, F5 work the first time to, the network is behind a proxy all users share the same cookies. i thing this is a general problem of PHPFusion, when you are in the same network the last user to enter, (if other user is log on), it goes to the session of the first user (because of the cookies) it appens the same with www.php-fusion.co.uk page.

unless exists a way to prevent installing cookies from the site.??
0 replies
— 1 month later —
H
hamidreza
H
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
answered
Newbie

fusion set cookies on ip addresss . and the proxy intenet have one ip fo the web server.
0 replies
H
hamidreza
H
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
answered
Newbie

but i add the header ("Cache-Control: no-cache"); in my maincore.php and my old broblem now is repaired .
tanks chbe :) :)
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 8 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet