Please support our Perl advertiser: Programming Forums
•
•
Join Date: Nov 2007
Posts: 28
Reputation:
Rep Power: 2
Solved Threads: 0
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
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
Similar Threads
Other Threads in the Perl Forum
- Access Date & Time Validation Question (MS Access and FileMaker Pro)
- Changing browsers...protection from spyware & viruses? (Web Browsers)
- Is there a way to prevent access to hard drives through firefox after you have hidden (IT Professionals' Lounge)
- PHP cookie question (PHP)
- can some one make me a simple perl code (Perl)
- my security point....... (IT Professionals' Lounge)
- where to start with perl? (Perl)
- Yankeez MLB and steroids? (Geeks' Lounge)
Other Threads in the Perl Forum
- Previous Thread: PDB analysing
- Next Thread: Manipulating Data
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode