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
Did you know?Explore Trending and Topic pages for more stories like this.
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
238 Like 29 Dislike
Previous forums Next forums
Other forums

sapgui f4 help last search
I know this has to be simople. One user (maybe more) does not have the "last search saved" from the

Printing issues with xMII 11.5
For some reason, we have one report (and only one) that is giving us fits when trying to print. The

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

Calander layout
Hi i know this sounds like a simple question but i cant find the answer to it anywhere i have added

Linked Keywords
I am trying to get a script that makes my predefined keyword converted to links and / or converted t

Just cannot get 'area' to submit to db using same php code as already used
Basically all i have done is just modified some code and added an area section.
The form is allre

Blocking video streaming
Hello everyone,

I post a message here because i didn't find any solution yet.
I just finis

PHP XML extraction text
I would like to extract an xml text and have that text directly echo(print) out on my web page. Her

Database connection failure
Hello All,

I am trying to create new connection to Oracle DB 10.1,
I could not see a

Printer configuration
Hi All,
Suppose one of the user deleted the printer settings unfortunatly ,then what is the pro

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