Print Page | Close Window

Integrating logins with Asp.Net 2 Membership tool

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22294
Printed Date: 08 April 2026 at 10:02am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Integrating logins with Asp.Net 2 Membership tool
Posted By: gokcer
Subject: Integrating logins with Asp.Net 2 Membership tool
Date Posted: 30 December 2006 at 1:09am
I have a web site that user asp.net 2.0 membership tools. All my users are in a SQL db. I would like to let my users access the form without having to login. How would I integrate the ASP.NET Membership module user profiles to WebWiz forums?



Replies:
Posted By: gokcer
Date Posted: 30 December 2006 at 3:57am
I did the


    Session("USER") = Member_Username
    Session("PASSWORD") = Member_Password
    Const blnMemberAPI = True

It still does not work. My web site is using ASP.NET 2.0. It seems like classic ASP and ASP.NET do not share session variables.

Do you guys have a workaround this problem?


Posted By: dfrancis
Date Posted: 30 December 2006 at 3:20pm
There is a member API that may help you pass the credentials to the different sessions. Pyers will likely have more information after the holidays.


Posted By: iSec
Date Posted: 31 December 2006 at 4:30am
I need that information too... I have a friend who I will ask to build me an ASP.NET site... So I need this info ready... would appreciate any help.


Posted By: gokcer
Date Posted: 31 December 2006 at 5:09am
Again members_API is built with ASP. My site is built with ASP.NET 2.0 and using ASP.NET Membership module. (ASP & ASP.Net are two different things) From what I read you can't share session variable between the old ASP and ASP.NET pages. At least not directly. I found some info on writing a small application to write the session data to a database and retrive it using old asp but I rather have something more direct.


Posted By: -koen-
Date Posted: 31 December 2006 at 8:41am
I guess that the only option will be write an .asp page use querystings, gets the username and password and post it in your sessions. I know its danger to user querystrings so when a member register give him a random number and use that number in the querystring. I hope you find a better solution Wink

-------------
Don't check me english spelling please...


Posted By: gokcer
Date Posted: 01 January 2007 at 7:01pm
Unfortunately it requires username & password so it is pretty dangerous to send that info via querystring


Posted By: -koen-
Date Posted: 01 January 2007 at 7:09pm
I mean, give the user a random number and send that number whit querystring and get there the data out whit the .asp script. More i even don't know between them Cry

-------------
Don't check me english spelling please...


Posted By: dpyers
Date Posted: 02 January 2007 at 7:02am
You might want to take a look at the asp.net site. One of thier technology demo apps is focused upon how the asp.net membership api integrates with the MSSQL2005 roles and capabilities functions. The app was something like "Club Site". There's a version 2 app available and a forum for the app.

WWF has the capability to use either disk-based or cookie based session info but it's generic and not geared for using rhe .NET2.0/SQL2005 roles/responsibilities.member

I don't think you can use the wwf member api to if the wwf sessions are set up to be disk based - but I don't know for sure.


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: davealaw
Date Posted: 02 January 2007 at 6:53pm
We have a similar need and I came across this possible fix.

http://searchvb.techtarget.com/tip/1,289483,sid8_gci951935,00.html

If anyone tries it let me know how it works.

Dave




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net