LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-31-2004, 09:09 PM   #1
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
Peserving PHP Sessions thru browser windows


My website has a page that is members only while all other pages are open to anybody. When members navigate from the members only page to open pages I use session function calls to keep them logged in with a username variable. The member page checks the username against my database to see if they are still logged in. This process works fine as long as the member stays within the same window. If the member opens a new browser window they have to login again. Is there anyway to perserve the session beyond a browser window? I'm still brainstorming on this. Perhaps someone else has already figured it out.
 
Old 06-01-2004, 11:08 AM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 208

Rep: Reputation: 30
U might want to keep session information somehow and check if session timed-out when you re-enter the login page..

More details here

http://forums.devshed.com/archive/t-26714

if that's not it, please post your idea of how it should work and what it should do..

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sessions in PHP zowey Programming 2 12-26-2004 06:35 PM
A Question on Browser Sessions, and Browser Windows: opioid Programming 1 09-23-2004 02:53 PM
Troble on PHP Sessions Gerardoj Programming 4 05-25-2004 01:03 PM
Mozilla browser/mail sessions? KlaymenDK Linux - Software 4 03-08-2004 03:23 PM
PHP Sessions RecoilUK Programming 1 04-21-2002 05:57 AM


All times are GMT -5. The time now is 01:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration