Reply
No cookies with new window
Old 12-26-2003, 12:35 PM No cookies with new window
Bompa's Avatar
Extreme Talker

Posts: 173
Location: The Philippine Islands
This is driving me nuts.

I have a perl script for my site members to log on with. It sets a cookie with no expiration date, a very basic cookie.

I logon to my site fine. I have access as I should.

I open a new, (additional), browser window and I don't have access.

The problem is that the second browser window says there is no cookie. Why is that?

Are cookies window-specific?
__________________
Get a Competitive Edge!
SEO BOOT CAMP >> BLOG
Bompa is offline
Reply With Quote
View Public Profile Visit Bompa's homepage!
 
When You Register, These Ads Go Away!
Old 12-27-2003, 01:17 PM
ACJavascript's Avatar
Humble Mod

Posts: 548
Location: CT, USA
If your cookie has no expiration date on it - it Deletes itself when the window it was created in closes.

So if you open a NEW window (like a popup) the cookie will not be accessible by the new window since it was not created in that window.

I suggest putting a time limit on the cookie, try 1 day. and see if that helps.

Is this additional window part of your domain? or is it of a different one?
__________________
CYTech-services.com - 100 Satisfied Customers - Custom Programming and Web Development
ACJavascript is offline
Reply With Quote
View Public Profile Visit ACJavascript's homepage!
 
Old 12-27-2003, 01:44 PM
Bompa's Avatar
Extreme Talker

Posts: 173
Location: The Philippine Islands
Thanks.

Apparently, there's a big difference between opening a new window by right clicking or like a popup, and opening a new browser window with the Start Menu, the latter being a second instance of IE.

Things work fine when I right click and open a new window, but not when starting up another instance of IE.


At least, that's my theory at the moment.


And I can live with that situation.
__________________
Get a Competitive Edge!
SEO BOOT CAMP >> BLOG
Bompa is offline
Reply With Quote
View Public Profile Visit Bompa's homepage!
 
Reply     « Reply to No cookies with new window
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11294 seconds with 12 queries