Reply to thread
When I try to reply to a thread I get asked to login. I do this and then instead of the message box coming up, the login page keeps coming up. Why is this happening? Anyone else having this issue?
I am using Firefox 3.5.
Xlphos
Veteran Poster
1,108 posts since Apr 2008
Reputation Points: 32
Solved Threads: 118
Most probably your browser is not set to accept cookies from Daniweb which is the mechanism used for session tracking. This might be because of the Firefox add-on you use or a firewall running on your computer.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 732
Okay don't think its firefox, IE is doing the same thing. Tried on Laptop and that does the same IE + Firefox.
How could a firewall cause the problem? both computers are using the same firewall.
Xlphos
Veteran Poster
1,108 posts since Apr 2008
Reputation Points: 32
Solved Threads: 118
> How could a firewall cause the problem? both computers are using the
> same firewall.
Probably a configuration issue. You might want to try turning off the firewall for a couple of minutes and then see if you can observe the same behavior.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 732
> How could a firewall cause the problem? both computers are using the
> same firewall.
Probably a configuration issue. You might want to try turning off the firewall for a couple of minutes and then see if you can observe the same behavior.
Not tried disabling firewall yet.
On my uni network it does exactly the same IE or Firefox.
What I am trying to do is view a post whilst not logged in then clicking on reply to post, it used to work why has it stopped recently.
Xlphos
Veteran Poster
1,108 posts since Apr 2008
Reputation Points: 32
Solved Threads: 118
What I am trying to do is view a post whilst not logged in then clicking on reply to post, it used to work why has it stopped recently.
Yep. There is a bug. This is what I did.
I logged out, came back to this thread and tried to 'reply with quote'. It asked me to log in.
Url : http://www.daniweb.com/forums/newreply.php?do=newreply&p=1048814 which said,
You're trying to access something for members only! Please register or login to continue ...
Fair enough. Then, when I tried to log in, I got this url ( http://www.daniweb.com/forums/login.php?do=login ), which redirected me back to http://www.daniweb.com/forums/newreply.php?do=newreply&p=1048814 , asking me to log in again.
The Go back button, as well as, Click here if your browser does not automatically redirect you. will take me back to the same url: http://www.daniweb.com/forums/newreply.php?do=newreply&p=1048814 .
Tested in IE7, FF 3.5.5 and my computer is a cookie monster :P Seems like there is some problem with the session.
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
Hmm...this is a problem indeed. I've found that checking the 'Remember Me' checkbox fixes the problem, at least on my side.
@Dani
For some reason, the bbsessionhash cookie is set only if the 'Remember Me' check box is checked; you might want to look into this.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 732
Confirmed bug. Investigating ...
cscgal
The Queen of DaniWeb
19,418 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
. You might want to try turning off the firewall for a couple of minutes and then see if you can observe the same behavior
don't do it.
it's a trap.
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
Whats happening is YOUR COOKIE IS EXPIRING for no activity,checking REMEMBER ME keeps the cookie 'LIVE' provided you dont "clear cookies"...
Is it possible for you Dani to have "REMEMBER ME" activated even though it deosnt show when ya click "Member login"?? (This would prevent members from having thier cookies expire for "no activity" while they read a thread)
You can also make the session time unlimited,that would solve the issue also as the cookie would not EXPIRE unless they 'log out' :)
The Dude
Nearly a Senior Poster
3,485 posts since Dec 2005
Reputation Points: 1,054
Solved Threads: 31
I thought it was just my setup. Did the same to me as well - real pain on my Blackberry. As mentioned, the 'remember me' sorts it.
diafol
Rhod Gilbert Fan
7,735 posts since Oct 2006
Reputation Points: 1,168
Solved Threads: 1,070
Ya im sure if Dani gets a chance she will re-enable REMEMBER ME for all logins...... (Since it doesnt show it will have to be enabled for all (Easiest way to do it))
Vbulletin made a big mistake when 3.5 came out,they used to have REMEMBER ME checked by default and for some reason they had bright ideas to uncheck it.. Well this started causing all kinds of cookie issues (Which we are seeing here now)
The Dude
Nearly a Senior Poster
3,485 posts since Dec 2005
Reputation Points: 1,054
Solved Threads: 31
Just reminding you, this problem still exists. Looks like the changes made to this site haven't changed being redirected to the login page when clicking 'post reply to this thread'.
Xlphos
Veteran Poster
1,108 posts since Apr 2008
Reputation Points: 32
Solved Threads: 118
Dani! You still haven't fixed this one.
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
Let me make sure I understand the problem. You are not logged in and you are hitting the "Post Reply to this Thread" button without first entering a message. Right?
cscgal
The Queen of DaniWeb
19,418 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
This is one of the case.
1. You get a mail saying you got a PM from a member. You click on the link in the mail, which is something like this.
http://www.daniweb.com/forums/private.php?utm_source=vBMail&utm_medium=email&utm_campaign=NewPM
If you are on a public computer and if you haven't saved a cookie, it will ask you to log in. When you enter your username and password, username and password is processed, http://www.daniweb.com/forums/login.php?do=login . You get a message, which says,
Thank you for logging in, nav33n.
Click here if your browser does not automatically redirect you.
This redirects you back to http://www.daniweb.com/forums/private.php?utm_source=vBMail&utm_medium=email&utm_campaign=NewPM . Clicking on Click here if your browser does not automatically redirect you. doesn't log me in either.
2. The same thing happens when somebody replies to a thread you have subscribed to. You get a mail. You click on the link to open the thread. Like this for example.
http://www.daniweb.com/forums/post1237554.html#post1237554 . Here too,
* If you type a reply and click on "Post reply to this thread", it will ask me to register [not log in]. url: http://www.daniweb.com/forums/newreply.php?do=newreply&t=238667
* If you just click on "Post reply to this thread" without entering anything, it will ask me to login. url: http://www.daniweb.com/forums/newreply.php?do=newreply&t=238667
if(!isset($_SESSION['userid'])) {
if(!empty(quickeditor)) {
show_registration_screen();
} else {
show_login_screen();
}
}
I didn't try registering again. But login screen doesn't log me in, but redirects me back to the same url.
So, I am guessing, the session isn't being set properly or it's getting lost somewhere [or maybe there is a problem setting the cookie].
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
cscgal
The Queen of DaniWeb
19,418 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
Yes, 2 [1 and 2] major issues have been fixed. However,
* If you type a reply and click on "Post reply to this thread", it will ask me to register [not log in]
still asks me to register instead of login. Good job Dani! Yay!:)
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
Hello,
This problem still seems to be happening...
It can be quite annoying when you've written a bit.
Just letting you know.
Xlphos
Veteran Poster
1,108 posts since Apr 2008
Reputation Points: 32
Solved Threads: 118
Yes, I know it's still an outstanding bug that if you are not logged in, and you attempt to use quick reply, it is a smooth process ot register, but not to log in if you are already a member.
cscgal
The Queen of DaniWeb
19,418 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229