Login once by different users to...

User 450757 Photo


Registered User
43 posts

I'm trying to allow certain users to access their own specific page by using only one entry point.

Here is what I want to achieve: I create a link on the home page called: Member Login. When any visitor clicks on the link, the WAM asks for a user name and password. The visitor will enter a correct user name and password and will be able to see only the page that was associated (protected) to that user.

My question is, can one entry point (the Member Login link on the home page) direct users to the correct protected html page?

I tried many options, nothing worked. To my understanding, a link on the home page will work only if the link is of the protected page. At that point, only one user will be able to access the page (I intend to allow only one user to see his/her page. I have many users and many protected pages, but I don't want to create many links on the home page).

Any assistance would be appreciated.
Developing Robotic Surgery ORs and EMR Solutions.

http://www.RSES.com - fully designed with CoffeeCup's VSD
http://www.DevekMaga.com - Where the images are....
User 271042 Photo


Ambassador
85 posts

I like your thinking Devek, but I don't think it can be done at the moment, although if someone knows a way then I stand corrected!

The only compromise I can think of is this (although you may not like it) ...

On the home page, give a single "Members Only" link to your users, who could all have the same username/password to access the Members page, although you could have a different one for each of your users.

Arrving at the Members Only Page, there are then separate links for each of your users to their respective pages. Yeah, sure, needing two usernames/passwords might be inconvenient, but it would prevent having to have multiple links on the Home page. The Members Only page might have a nice greeting for your users, just to take the pain out of having to enter another username/password.

It's not an ideal solution, but it's the best I can think of.

Phil
http://www.gr8-knots.com

Nostalgia isn't what it used to be.
User 450757 Photo


Registered User
43 posts

Thanks Phil.

I was thinking about your idea for a while. Problem is, users cannot know who else is using the system. Your idea will work if each user will have a code he/she can click on in order to enter another, yet personal, login info... This might work if the member's page will have the codes as numbers... "User 1 please click here" etc.

I THINK, there is a solution - although I didn't try it yet. The link on the home page will be to a folder under the root of the website. Under this folder, each user will have his/her personal folder with their index.html file. WAM will allow each user to access only his/her personal folder and files under that folder... BUT, the main access from the home page will lead to a folder that hosts all the personal folders:
..\ Root - website
\members
\members\user1
\members\user1\index.html
\members\user1\document.pdf
\members\user2

Etc...

What do you think? I was too busy to try this theory yet....

Thanks again.
Developing Robotic Surgery ORs and EMR Solutions.

http://www.RSES.com - fully designed with CoffeeCup's VSD
http://www.DevekMaga.com - Where the images are....
User 187934 Photo


Senior Advisor
20,190 posts

Take a look at this page.
http://www.ssi-developer.net/ssi/ssi-redirect.shtml
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 271042 Photo


Ambassador
85 posts

Hi Guys,

I reckon I'm going to have a look at both these proposed solutions - might take me a day or two to get around to it, but both of them have potential!

Phil
http://www.gr8-knots.com

Nostalgia isn't what it used to be.
User 450757 Photo


Registered User
43 posts

Eric,

I stopped at the first sentence: "when a user logs into a directory protected with .htaccess ". This is exactly what I was suggesting and wondering about in my second post above. I tried to avoid this situation by simply allowing users to log into one point of entry in the home page WITHOUT a link to a folder. That idea is evidently not possible. So I asked if the idea of log into a folder (any sub folder under the root) will do the job... as it turns out, this is what your link referred me to.

I guess setting up a folder under the root and pointing the users to log into that folder - then set WAC to actually redirect them from that entry point to their individual folders - is the only way it will work.

I'm going to try this today and theoretically it should work.

Thanks
Developing Robotic Surgery ORs and EMR Solutions.

http://www.RSES.com - fully designed with CoffeeCup's VSD
http://www.DevekMaga.com - Where the images are....
User 187934 Photo


Senior Advisor
20,190 posts

Keep reading.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 450757 Photo


Registered User
43 posts

You're killing me.... :cool:
Developing Robotic Surgery ORs and EMR Solutions.

http://www.RSES.com - fully designed with CoffeeCup's VSD
http://www.DevekMaga.com - Where the images are....
User 2073552 Photo


Registered User
1,625 posts

No, he is making you learn. :D
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 187934 Photo


Senior Advisor
20,190 posts

Here's a quick version based on what I read past the first line.;)
Login

I have 3 users setup
username: user1 password: user1pass
username: user2 password: user2pass
username: user3 password: user3pass
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.