Session login issue


Posted on 16th Feb 2014 07:03 pm by admin

I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to http://www.website.com
The page that processes the login then returns the now-logged-in user to http://www.website.com
If this person goes to website.com, though, the login page returns them to www.website.com and it seems to be a different session which makes it appear as though they haven't logged in. Then they login twice.

"Well just have the login page return the user to the URL that they came from"
My problem there is that I have other pages on my site which will direct a user back to http://www.website.com -such as my Error 403 page. After a certain period of time, it sends the user to http://www.website.com. If this is a logged-in user who logged in under website.com, it will appear as though they were logged out

Any suggestions?

No comments posted yet

Your Answer:

Login to answer
87 Like 54 Dislike
Previous forums Next forums
Other forums

i need help with php header and footer
I have designed a header and footer for my site and they seem to be ok when they are running individ

Problem with Subscreen
Dear Experts ,
I am facing a problem with the subscreens. My senario is as follows :

http to https
Hi,

Is there any specific method/condition to move an http:// page to https:// ?

ClientScript.RegisterClientScriptBlock Issue
This is what I haveview plaincopy to clipboardprint?Protected Sub posrback_Click(ByVal sender As Obj

links using header()
Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at

values in array being escaped
I would like to submit some values - back to the same form for checking before processing...

PHP referral database. I would like this form to email the referrer.
Okay, Hello I've been trolling for years. This the first time I've ever asked for php help. Normally

Problem assigning value to variable in "IF" function
Does this script makes sense? I am trying to take the value that is set to "authenticat" a

Unable to display contents in Second Drop Down Box
Hi All,

What I am trying to do is 2 dependent drop down boxes and when user selects su

Disable Scrollbar in TableControl
Hello everbody,

please can anybody help me - outherwise i'm going to become desperate :P<

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash