User login by ASP.net

This is a discussion on "User login by ASP.net" within the ASP.NET Forum section. This forum, and the thread "User login by ASP.net are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > ASP.NET Forum

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Aug 8th, 2004, 13:04
Junior Member
Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
User login by ASP.net

I have a user login page built using ASPvbscript, i tried to redirect it to a *.aspx page but it does not recognise my session.contents=true and keep redirect me to the user login.asp, i'm new in either asp or asp.net, all i was doing is to built the page with Dreamweaver MX, anyone, please help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Aug 9th, 2004, 08:42
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Ok I didnt have time to read this article but it might help:

How to Share Session State Between Classic ASP and ASP.NET
http://msdn.microsoft.com/library/de...rttoaspnet.asp

If that doesnt help, come back...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Aug 9th, 2004, 09:09
Junior Member
Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, i've seen that but too complicated for me...any simpler method?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Aug 9th, 2004, 09:36
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Ok this is kinda dangerous but just create a new .aspx page which sets the session and then redirects.

So your classic asp page redirects to the Session creator aspx page, that sets the session and then redirects to where-ever you want.

Heres the aspx code for the session creator:
Code: Select all
<script runat="Server">
Session("authenticated")=True
Response.Redirect("somepage.aspx")
</script>
change the above accordingly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
user, login, aspnet

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql data loads once user login longstand PHP Forum 9 Feb 7th, 2008 07:10
User login or anonymous? alexgeek Website Planning 6 Jan 22nd, 2008 05:51
PHP Login Jack Franklin PHP Forum 25 Oct 10th, 2007 09:27
user login security question tnikolov Starting Out 5 May 7th, 2007 17:46
php login help Aaron1988 PHP Forum 2 Jan 25th, 2007 15:58


All times are GMT. The time now is 15:33.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42