473,508 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help , Forn Authentication problem

I'm trying to use form autentication. I have a login.aspx and a
register.aspx. Register.aspx is for new user. I can set web.config to
redirect to login.aspx and use
FormsAuthentication.RedirectFromLoginPage(txtUserN ame.Text,true) to go
back the page the want. But for new user they have to go to
register.aspx, after register I want them go to the page they want
instead of login.aspx again, how can I realize it? Thanks ahead.

Laurence
*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #1
1 891
You'll have to somehow make your register.aspx know where the user was originally.
If the Register.aspx is accessed from the login.aspx, then I'd suggest you
alter your login.aspx to alter the URL for the register.aspx to pass a querystring
-- the same querystring that's passed to login.aspx. So, IOW, nothing does
this for you, so you'll have to do it yourself.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I'm trying to use form autentication. I have a login.aspx and a
register.aspx. Register.aspx is for new user. I can set web.config to
redirect to login.aspx and use
FormsAuthentication.RedirectFromLoginPage(txtUserN ame.Text,true) to go
back the page the want. But for new user they have to go to
register.aspx, after register I want them go to the page they want
instead of login.aspx again, how can I realize it? Thanks ahead.

Laurence

*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #2

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

Similar topics

3
2199
by: Trogdor | last post by:
I set up a server on an AMD 650 machine running gentoo linux. I installed Apachie 2, MySQL 4.1 and PHP 4.3.11 I use another computer on my local net (192.168.0.x) to access the server as a...
7
9263
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
2
1975
by: phreeskier | last post by:
i want to implement authorization with windows authentication and don't have the slightest clue of how to do this implementation. the basic windows authentication for this .NET application is...
10
2681
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
3
4837
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
3
4606
by: Reza | last post by:
Hello I tried this friday, but didn't get anywhere so trying again Basically, I have a fixed list of people that can access the application in the Intranet, and with the policy of the company the...
0
1112
by: Raed Sawalha | last post by:
The thing is that I want to put authentication application to the webserver root (C:\Inetpub\wwwroot\empLogin.aspx & http:\\localhost\emplogin.aspx) The problem is that another webApplication...
6
1275
by: Milsnips | last post by:
hi there, i have a page with a repeater that is populated with my function called GetList, that returns an arraylist of my custom object, lets say its called Products{ProductID, Description,...
0
5519
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
2
1350
by: kakaria | last post by:
hey guys, i dont know anything about coding in access. can u give me some guide lines, like how to open some form using a button in another forn, and how to create a form in which data can be...
0
7231
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
7336
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
7401
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...
1
7063
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.