Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Integrating logins with Asp.Net 2 Membership tool
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Integrating logins with Asp.Net 2 Membership tool

 Post Reply Post Reply Page  12>
Author
gokcer View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2006
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote gokcer Quote  Post ReplyReply Direct Link To This Post Topic: Integrating logins with Asp.Net 2 Membership tool
    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?
Back to Top
gokcer View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2006
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote gokcer Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
gokcer View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2006
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote gokcer Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
-koen- View Drop Down
Groupie
Groupie
Avatar

Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote -koen- Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
gokcer View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2006
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote gokcer Quote  Post ReplyReply Direct Link To This Post Posted: 01 January 2007 at 7:01pm
Unfortunately it requires username & password so it is pretty dangerous to send that info via querystring


Edited by gokcer - 01 January 2007 at 7:01pm
Back to Top
-koen- View Drop Down
Groupie
Groupie
Avatar

Joined: 22 February 2006
Location: Netherlands
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote -koen- Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.