How can I limit the con-current login in squid proxy?

Dear all,

I am using Redhat 5.2 with squid installd. I also use htpasswd to do the auth method. Is there any thing that can be done to limit the con-current login? so that user can not login  cocurrently. (e.g user may have 2 concurrent access to internet)

Remark : If it can not be done by squid , then is there anyone know other method ? eg. third party tools

Best Regards
edmundliAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

edmundliAuthor Commented:
Edited text of question.
0
j2Commented:
No, it cannot be done in either way.
This is the drawback of "stateless HTML" you will need to use session management via cookies or something  like that (php is useful)

www.devshed.com has som pretty good resources.
0
edmundliAuthor Commented:
Then How can we do about this ?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

edmundliAuthor Commented:
How can I do this by using your comments
Can you give me more detail about it ?
0
j2Commented:
Oh, that also only protects pages on your servers, it will not be able to limit a person from opening two connections. That isnt possible at all with squid. Exactly what is the scenario here anyway?
0
edmundliAuthor Commented:
The resaon to limit the con-current login is that we can a Internet ISP in the company. We would like to make sure that user will only have one or two con-current login allowance. The answer looks different from the first time and second time.

 
0
j2Commented:
Because the first answer was because i thought you wanted to prevent multiple logins to a single page. That was obviously not the case, my misstake.

What you want cannot be done with squid, it just isnt in the code.
0
edmundliAuthor Commented:
Is there any method to do so even not in squid itself, any third party software ?
0
j2Commented:
Not that i have ever heard of. The best way i suppose would be to write software that made sure that a user only could connect to a single modem (since i assume we are talking dial up use here?)
0
edmundliAuthor Commented:

No, Since we are providing internet service to our company, and user needs to apply one user account. We do not want one user can access internet by using few internet connections. If they are sharing one account, then we can not charge for them , do you get my point ?
0
j2Commented:
Yep, and all i can say is "good luck" can't say i have ever seen such a solution "in use"
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.