473,387 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Using 2 login pages, how?

Hi,

I have a website that I need to have 2 login pages for, is this
possible without creating another virtual web application and having 2
web.config files?

My website has a forum and a ecommerce application.

So: www.example.com/store/ and www.example.com/forum/

I want there to be 1 registration page, but 2 login pages.
Apr 4 '08 #1
3 1296
Not sure i "get" this one. You can have as many login pages (or login
controls, whatever) as you want. Can you be more specific?
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
"DotNetNewbie" wrote:
Hi,

I have a website that I need to have 2 login pages for, is this
possible without creating another virtual web application and having 2
web.config files?

My website has a forum and a ecommerce application.

So: www.example.com/store/ and www.example.com/forum/

I want there to be 1 registration page, but 2 login pages.
Apr 5 '08 #2
Why two logins? I am not sure I see that, as you can restrict a user via
roles. You simply add a user to either the store or the forum role (or both)
and then you use security trimmings on the site map provider to not show
what he does not have access to.

For example. User goes to store and creates account. Now, user wants to go
to forum. You show him the info but do not allow him to use the post links
or pages unless he asks for access. You can then add that role to his
account.

With the ASP.NET Membership bits, it is extremely easy to add roles to an
existing account.

Perhaps I am way off base here? If so, post why you need two logins.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"DotNetNewbie" <sn***********@yahoo.comwrote in message
news:ff**********************************@m36g2000 hse.googlegroups.com...
Hi,

I have a website that I need to have 2 login pages for, is this
possible without creating another virtual web application and having 2
web.config files?

My website has a forum and a ecommerce application.

So: www.example.com/store/ and www.example.com/forum/

I want there to be 1 registration page, but 2 login pages.

Apr 5 '08 #3
On Apr 5, 12:11 am, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamMwrote:
Why two logins? I am not sure I see that, as you can restrict a user via
roles. You simply add a user to either the store or the forum role (or both)
and then you use security trimmings on the site map provider to not show
what he does not have access to.

For example. User goes to store and creates account. Now, user wants to go
to forum. You show him the info but do not allow him to use the post links
or pages unless he asks for access. You can then add that role to his
account.

With the ASP.NET Membership bits, it is extremely easy to add roles to an
existing account.

Perhaps I am way off base here? If so, post why you need two logins.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my bloghttp://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************" DotNetNewbie" <snowman908...@yahoo.comwrote in message

news:ff**********************************@m36g2000 hse.googlegroups.com...
Hi,
I have a website that I need to have 2 login pages for, is this
possible without creating another virtual web application and having 2
web.config files?
My website has a forum and a ecommerce application.
So:www.example.com/store/andwww.example.com/forum/
I want there to be 1 registration page, but 2 login pages.
No you are not off base, that is a good idea since I am using roles
now anyhow!

The only *problem* with this is that I will be forcing the user to
create a Username even though they are just using the ecommerce part
of the site (not really THAT big of a deal).....people are just not
used to that.
Apr 7 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Antwerp | last post by:
Hi, I'm trying to create a perl script that will log into a website (the login form uses POST), navigate to several pages, and append the (html) content parsed from those pages to a seperate log...
2
by: Rujuta Gandhi | last post by:
Hi All, I am facing a very crucial problem. Im developing a web application using .net studio 2005(beta). I want my Login.aspx page to be secured(https) for encrypted login information...
4
by: nicholas | last post by:
Hi, Got an asp.net application and I use the "forms" authentication mode defined in the web.config file. Everything works fine. But now I would like to add a second, different login page for...
3
by: Phil Certain | last post by:
Hi I'm building a site that has publicly available pages and password protected pages. Publicly available pages reside in: /public and password protected pages reside in: /private
1
by: Jakob Lithner | last post by:
When I started a new ASP project I was eager to use the login facilities offered in Framework 2.0/VS 2005. I wanted: - A custom principal that could hold my integer UserID from the database -...
2
by: rn5a | last post by:
Please have a look at the image at the URL given below: http://rn5a.brinkster.net/Template.gif I would like to use that image as a template for all the ASP pages in a website. Note that though...
8
by: ak | last post by:
Hi Guys, I was just wondering whether it is possible to translate JSP pages into ASP pages using XSLT. What I want is to be able to open a currently available website developed in JSP in a...
3
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
The majority of pages on our site need authentication (forms auth against the aspnetdb database). I created an '~/auth' folder with its own config file forcing authentication for any pages in the...
10
by: DavidPr | last post by:
When I logout as one user and log in under a different user, it opens with the last user's information. User 1 - Unsername: Davey Jones User 2 - Unsername: David Smith I log out from Davey...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.