Welcome, Guest. Please Login or Register
  HomeHelpSearchLoginRegister Latest Rules Support  
 
Pages: 1 2 
Send Topic Print
Login issue.. (Read 36151 times)
Still_Sleeping
Junior Member
**
Offline


I love being here!

Posts: 27
Gender: male
Login issue..
5th Feb, 2013 at 2:05am
 
I started a thread here so i wouldn't continue off topic..

When I enter my username and password and click submit, it just refreshes the page like I never attempted to login. I'll try to start using the "when i close the browser window" setting to see if that makes a difference.
Back to top
 

CashClixs-Owner
Members: 2,473               Paid: $471.00

updated: 2/14/13
 
IP Logged
 
SolidSnake
Forum Administrator
*****
Offline


I'm impossible to forget,
but I'm hard to remember

Posts: 3386
Center of the Universe
Gender: male
Re: Login issue..
Reply #1 - 7th Feb, 2013 at 2:49am
 
Very weird, can't seem to find a reason for this.. have you deleted the automatically saved password just in case it's mistaken?
Does this happen only on your mobile device? Have you tried another browser to see if it makes any difference?
Back to top
 
WWW  
IP Logged
 
venkat
Senior Member
****
Offline


Trying to learn something...

Posts: 360
Chennai, India
Gender: male
Re: Login issue..
Reply #2 - 8th Feb, 2013 at 10:26am
 
It's not an issue, but I should mention here.

When I come to this forum's home page, it says "Welcome, Guest. Please Login or Register", whereas I can see that I am logged in when I visit other threads of this forum.

Even if I try to log in from the home page, it says "You are already logged in".

So, there should be something in the home page's script that doesn't track us.
Back to top
 
WWW  
IP Logged
 
ruicarlov
VIP Member
*****
Offline


PTCMan! The doodle superhero
of the PTC world!

Posts: 1479
Portugal
Gender: male
Re: Login issue..
Reply #3 - 8th Feb, 2013 at 12:33pm
 
That happens to me, too. But in my case I never noticed I could actually post even without clicking in the login. I just assumed it was the login welcome message that was bugged.

[EDIT] - I checked it this time, and I just have to refresh the page once after i reach the forum to show up as logged in
Back to top
« Last Edit: 8th Feb, 2013 at 8:50pm by ruicarlov »  
 
IP Logged
 
SolidSnake
Forum Administrator
*****
Offline


I'm impossible to forget,
but I'm hard to remember

Posts: 3386
Center of the Universe
Gender: male
Re: Login issue..
Reply #4 - 8th Feb, 2013 at 9:44pm
 
Well, now that you explained it I finally got it.

Let me explain what's happening :
The forum is web software. It uses pearl language which is script based.
Now the forum's software executable is the file YaBB.pl and it's located at this url :

http://www.ptcbox.me/forum/YaBB.pl

However in order to make the link much easier I use the simple sub-domain x.ptcbox.me.
Which is set to open the directory :

http://www.ptcbox.me/forum

and since "forum" is just a directory our html client (=>aka browser) automatically searches
for an understandable file with one of the default names (usually index.html or default.html).
It will never look for the YaBB.pl file since it doesn't know what it is.

So I have an index.html file there that simply tells our client that it will run pearl based script,
and it simply redirects to the YaBB.pl file that executes the forum software.

Now the issue with this is that this process carries no parameters and loads no cookies when
it travels from x.ptcbox.me to  http://www.ptcbox.me/forum/YaBB.pl.

And that's why you don't find yourself logged in through this route.
Now if you reload the page it all gets fixed as the client simply loads the page normally
without any redirects loading your cookies that log you in automatically.

So the fix for this is to bookmark the complete url of the forum instead of the simple one.
This way you will always be logged in and you will only have to update your session when you
enter from a different IP address.

I hope I helped! Tongue

Back to top
 
WWW  
IP Logged
 
Still_Sleeping
Junior Member
**
Offline


I love being here!

Posts: 27
Gender: male
Re: Login issue..
Reply #5 - 8th Feb, 2013 at 10:58pm
 
venkat wrote on 8th Feb, 2013 at 10:26am:
It's not an issue, but I should mention here.

When I come to this forum's home page, it says "Welcome, Guest. Please Login or Register", whereas I can see that I am logged in when I visit other threads of this forum.

Even if I try to log in from the home page, it says "You are already logged in".

So, there should be something in the home page's script that doesn't track us.


Its the same for me when I'm at home, I just click on a thread then it logs me in. But when not at home, no matter what i do, i can't login..

I haven't tried to login the last few days while I been away from the house. I'll update when I try again.

Also I'm using my iphone 3gs (browser-safari), usually the same as when I'm at the house, but I'm using wifi at home and my mobile service when I'm not at house.
Back to top
 

CashClixs-Owner
Members: 2,473               Paid: $471.00

updated: 2/14/13
 
IP Logged
 
venkat
Senior Member
****
Offline


Trying to learn something...

Posts: 360
Chennai, India
Gender: male
Re: Login issue..
Reply #6 - 13th Feb, 2013 at 9:08am
 
@SS,

If the sub-domain simply opens the Directory, then you can create an index file (probably index.asp) and just put the following one line code in the body of that index file, I think this issue will be fixed from your end, instead of relying on the visitors.

Code (HTML):
Response.Redirect("http://www.ptcbox.me/forum/YaBB.pl") 

Back to top
 
WWW  
IP Logged
 
SolidSnake
Forum Administrator
*****
Offline


I'm impossible to forget,
but I'm hard to remember

Posts: 3386
Center of the Universe
Gender: male
Re: Login issue..
Reply #7 - 13th Feb, 2013 at 12:51pm
 
venkat wrote on 13th Feb, 2013 at 9:08am:
@SS,

If the sub-domain simply opens the Directory, then you can create an index file (probably index.asp) and just put the following one line code in the body of that index file, I think this issue will be fixed from your end, instead of relying on the visitors.

Code (HTML):
Response.Redirect("http://www.ptcbox.me/forum/YaBB.pl") 



Well that is the code for vbscript and I can't figure out how to make it work.. I've been using this code so far :

Code (HTML):
<html>
	<head>
		<meta http-equiv="refresh" content="0; url=YaBB.pl" />
	</head>
	<body>
		<a href="YaBB.pl">Loading X-PTCBox Forum...</a>
	</body>
</html> 



But I just figured out what my problem was..   Smiley
All I had to do is fix the url from :

Code (HTML):
url=YaBB.pl 



to :

Code (HTML):
url=http://www.ptcbox.me/forum/YaBB.pl 



Pretty awkward bug now that I think of it, but it was you that got me thinking so  Smiley
I think it's working fine now.  Smiley
Back to top
 
WWW  
IP Logged
 
venkat
Senior Member
****
Offline


Trying to learn something...

Posts: 360
Chennai, India
Gender: male
Re: Login issue..
Reply #8 - 13th Feb, 2013 at 2:08pm
 
Still the home page says "Please Login or Register".

The complete vbscript for the code I suggested is below:

Code:
<html>
    <head>
         <title>..... Title goes here ..... </title>
    </head>

    <body>
        <%   
            ' This percentage symbol tells the browser to execute vbscript
            Response.Redirect("url=http://www.ptcbox.me/forum/YaBB.pl")
        %>
   </body>
</html> 


Only thing is, this file should have extension of '.asp' instead of regular '.htm' (index.asp)

But, I think it depends on the forum software, not on what script we use, either PEARL or VBScript. So, I'm not sure whether my code would help.
Back to top
 
WWW  
IP Logged
 
SolidSnake
Forum Administrator
*****
Offline


I'm impossible to forget,
but I'm hard to remember

Posts: 3386
Center of the Universe
Gender: male
Re: Login issue..
Reply #9 - 13th Feb, 2013 at 2:14pm
 
I don't get it.. it now works fine for me.. and it should work fine for you too..
You mean when you click here it doesn't keep you logged in?

When you type (or click here) x.ptcbox.me in your browser, to what address do you get redirected?
Back to top
 
WWW  
IP Logged
 
venkat
Senior Member
****
Offline


Trying to learn something...

Posts: 360
Chennai, India
Gender: male
Re: Login issue..
Reply #10 - 13th Feb, 2013 at 2:20pm
 
Yes. It doesn't show that I'm logged in. (It's saying "Welcome, Guest. Please Login or Register" when I click the link you've posted here.)

The URL I'm being redirected is "http://x.ptcbox.me/YaBB.pl"
Back to top
 
WWW  
IP Logged
 
SolidSnake
Forum Administrator
*****
Offline


I'm impossible to forget,
but I'm hard to remember

Posts: 3386
Center of the Universe
Gender: male
Re: Login issue..
Reply #11 - 13th Feb, 2013 at 3:24pm
 
venkat wrote on 13th Feb, 2013 at 2:20pm:
Yes. It doesn't show that I'm logged in. (It's saying "Welcome, Guest. Please Login or Register" when I click the link you've posted here.)

The URL I'm being redirected is "http://x.ptcbox.me/YaBB.pl"


Oh there's the issue,  you should be redirected to http://www.ptcbox.me/forum/YaBB.pl.
Try clearing your cookies as it might help. Also you could try this too.. :

Click here : x.ptcbox.me
and immediately click stop before it redirects you to the forum homepage.

Then click reload so that it refreshes the received content from the ptcbox.me server.
Then it should redirect to the new updated link.

Back to top
 
WWW  
IP Logged
 
venkat
Senior Member
****
Offline


Trying to learn something...

Posts: 360
Chennai, India
Gender: male
Re: Login issue..
Reply #12 - 14th Feb, 2013 at 5:18am
 
It's working fine now. Smiley

Thank you. Smiley
Back to top
 
WWW  
IP Logged
 
SolidSnake
Forum Administrator
*****
Offline


I'm impossible to forget,
but I'm hard to remember

Posts: 3386
Center of the Universe
Gender: male
Re: Login issue..
Reply #13 - 14th Feb, 2013 at 9:33am
 
Finally, some light! Smiley
If anyone else faces such problems please let me know.
Back to top
 
WWW  
IP Logged
 
Still_Sleeping
Junior Member
**
Offline


I love being here!

Posts: 27
Gender: male
Re: Login issue..
Reply #14 - 14th Feb, 2013 at 11:45pm
 
I think my issue has to deal with my device, and not your site. I had the same problem with payza all day yesterday. Undecided
Back to top
 

CashClixs-Owner
Members: 2,473               Paid: $471.00

updated: 2/14/13
 
IP Logged
 
Pages: 1 2 
Send Topic Print