28, May 2012

Page protection when opening more than one Explorer-Window - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: Page protection when opening more than one Explorer-Window
« previous next »
Pages: [1] Print

Author Topic: Page protection when opening more than one Explorer-Window  (Read 1309 times)
Atari ST fan
*
Posts: 8
68 credits
Members referred : 0


« on: Jun 03, 2006, 03:33:47 pm »

Hi,
I just installed Access_user class v. 1.86 and I am happy !
I have one question, though:
After identification and authentification through login, I can access the protected pages. OK. But when I open a new window in Internet Explorer and want to access the same page (just in a new window), I am asked to login again. Why do I have to login twice ? In addition, when I log out in one of the two windows, I can still access the page in the other window.
And now to make it even more strange: I did the same in Firefox instead of Internet Explorer and there it worked perfect: After logging out in one of the windows, i was not able to access the other window - which is correct.

Can someone help me ?

Thank you !
Philipp

Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jun 03, 2006, 04:14:58 pm »

Hello,

right there is a problem with the phpsessid in internet explorer but there are possebilities:
check this information first:
http://www.zend.com/tips/tips.php?id=238&single=1
or this:
http://www.webmasterworld.com/forum88/195.htm


I will open a thread here what other developers think which is the best solution, keep informed by this forum...

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #2 on: Jun 03, 2006, 05:19:31 pm »

No this is not a problem.

Session is stored per browser, not per ip and this is the way it should be.

If it was per ip then people that browse through proxies, or in any other way use a shared ip could create problems...

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Jun 03, 2006, 07:35:48 pm »

It's nothing about the IP address, its just that IE creates a new ID for each window as a kind of security. The problem is only about a very bad browser, after MS got this thing a little bit save he doesn't work anymore for 100% Sad

Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Jun 06, 2006, 03:53:27 pm »


Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2716
Tags : forums internet explorer firefox browsers Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: Page protection when opening more than one Explorer-Window
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 10:35:47 am





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.