User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,745 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Perl advertiser: Programming Forums
Views: 1048 | Replies: 3
Reply
Join Date: Nov 2007
Posts: 26
Reputation: SergioQ is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
SergioQ SergioQ is offline Offline
Light Poster

General Perl & Firefox cookie question

  #1  
Nov 12th, 2007
Well, am new here, so I really hope I am in the correct forum.

My question is both simple and confusing at the same time, but please humor me. It goes like this:

My website is mostly Perl and when someone logs in, I record the session in a database, and write it to a cookie. So whenever a person goes to the main page of my website, I show them either signed on or off. If the person goes to a page that you must be signed on for, I give them a default "You must be signed on" screen.

Anyway, the point is that the code is simple, and it's worked for a good two years.

Today I was at someone's machine where the "Am I signed on or off" feature failed. However, it only failed on two pages. On every other page it worked!

And here I am thinking, how can the same code fail on two pages, but not others. Because from every page it's called the same way, as one function, and that function comes from ONE module that all my pages use.

It's a customer's machine so I can't sit there and ask for a lot of time on it. All I could do was come home, load up Firefox, make sure I had every extention, and try to create the failure here, and no way.

So my general question is has anyone ever encountered something like this? Maybe in Firefox, or the likes?

Forgive the generality, it just makes no sense to me.

Thanks ahead,

Sergio
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2006
Posts: 641
Reputation: KevinADC is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 36
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Master Poster

Re: General Perl & Firefox cookie question

  #2  
Nov 12th, 2007
Impossible to say. May have nothing to do with the browser. Third party software, proxies. firewalls, etc, anyone of them might have something to do with any particular problem.
Reply With Quote  
Join Date: Nov 2007
Posts: 26
Reputation: SergioQ is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
SergioQ SergioQ is offline Offline
Light Poster

Re: General Perl & Firefox cookie question

  #3  
Nov 12th, 2007
Originally Posted by KevinADC View Post
Impossible to say. May have nothing to do with the browser. Third party software, proxies. firewalls, etc, anyone of them might have something to do with any particular problem.


I really thought about it, but most of my pages work on that machine...these particular two do not. ANd it's just on THAT machine!!!!!!

I realize that my post just had no info to really answer this question, just had to try...
Reply With Quote  
Join Date: Mar 2006
Posts: 641
Reputation: KevinADC is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 36
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Master Poster

Re: General Perl & Firefox cookie question

  #4  
Nov 12th, 2007
I suggest you test those two pages on as many machines as possile. Check your server logs too.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Perl Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Perl Forum

All times are GMT -4. The time now is 5:07 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC