CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 9/17/2007 7:45:04 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 47 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
Mnemonic
Asp.Net User
Sucessful login to go to the page you originally wanted to go to?9/17/2007 7:45:04 PM

0/0

Hey all, in my login control, i can specify the page i want the user to go to if the login was sucessful, but what if the user clicked on a login-required page, then sucessfully logged in, but it throws them back to the page that i set... how would i make it send them to the page they wanted to go to originally?     


Post free ads at http://www.floofie.com
joshj
Asp.Net User
Re: Sucessful login to go to the page you originally wanted to go to?9/17/2007 8:18:55 PM

0/0

By default, the login control will redirect the user to the requested page if authentication is successful. Your specification of what page to send them to overwrites that built-in function. One solution would be to remove the specification that you declared.

Mnemonic
Asp.Net User
Re: Sucessful login to go to the page you originally wanted to go to?9/18/2007 2:14:22 PM

0/0

I removed that, and now it takes me to Default.aspx, instead of the intended page.


Post free ads at http://www.floofie.com
XiaoYong Dai –
Asp.Net User
Re: Sucessful login to go to the page you originally wanted to go to?9/19/2007 10:36:48 AM

0/0

Hi

Could you please paste the code snippet so that we can find some clue?


Best Regards
XiaoYong Dai
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Mnemonic
Asp.Net User
Re: Sucessful login to go to the page you originally wanted to go to?9/23/2007 12:29:57 AM

0/0

XiaoYong Dai ? MSFT:

Hi

Could you please paste the code snippet so that we can find some clue?

 

<asp:Login ID="Login1" runat="server" BackColor="#C2D0E0" BorderColor="#6780B8" BorderStyle="Solid" BorderWidth="1px" LoginButtonImageUrl="~/images/login.gif" LoginButtonType="Image">

</asp:Login>

 

Nothing special about this... searched the document, and default.aspx is nowhere in there...


Post free ads at http://www.floofie.com
Mnemonic
Asp.Net User
Re: Sucessful login to go to the page you originally wanted to go to?11/12/2007 2:28:30 AM

0/0

Just for the record if anyone else has things set up like me...  I figured out a way to fix this.

In the page that redirects to the login page, put in the page_load:

If not user.identity.isauthenticated = true then

response.redirect("Login.aspx?ReturnPage=MyPage.aspx?ifyouhaveaquery=" & Whatever.text)

 

Then in the login page (since we know they ARENT logged in) in the page_load

If user.identity.isauthenticated = true then

response.redirect(Request.querystring("ReturnPage"))

 

Pretty easy when ya think about it :)


Post free ads at http://www.floofie.com
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP Authors: David Powers, Pages: 784, Published: 2007
Foundation PHP for Dreamweaver 8 Authors: David Powers, Pages: 510, Published: 2005
Beginning Dreamweaver MX Authors: Charles Brown, Imar Spaanjaars, Todd Marks, Pages: 816, Published: 2003
Beginning Dreamweaver MX 2004 Authors: Charles E. Brown, Imar Spaanjaars, Todd Marks, Pages: 792, Published: 2004
Creating a Successful Craft Business Authors: Rogene A. Robbins, Pages: 256, Published: 2003
From Reel to Deal: Everything You Need to Create a Successful Independent Film Authors: Dov S.-S. Simens, Pages: 418, Published: 2003
All Music Guide to Soul: The Definitive Guide to R&B and Soul Authors: Vladimir Bogdanov, Chris Woodstra, John Bush, Stephen Thomas Erlewine, Pages: 899, Published: 2003
The Successful Business Plan: Secrets & Strategies Authors: Rhonda Abrams, Eugene Kleiner, Pages: 417, Published: 2003
The "how To" Grants Manual: Successful Grantseeking Techniques for Obtaining Public and Private Grants Authors: David G. Bauer, Bauer, Pages: 282, Published: 2003
The Craft and Business of Songwriting: A Practical Guide to Creating and Marketing Artistically and Commercially Successful Songs Authors: John Braheny, Pages: 400, Published: 2006

Web:
Sucessful login to go to the page you originally wanted to go to ... Sucessful login to go to the page you originally wanted to go to? Last post 09- 02-2008 5:10 PM by tlsterling. 6 replies. Sort Posts: ...
Login control not redirecting to the page you intended to go to ... The login control has a property called DestinationPageURL where you would set the page you want to go to on a successful log in. ...
Ezine Article Submission - Submit Your Best Quality Original ... At times, people suffer from insufficient funds and cannot go for the high price ..... If you want your business on the right track, you need to hire the ...
Dwight D. Eisenhower - Wikiquote This page has been listed as needing cleanup since 2007-11-11. ..... If you want total security, go to prison. There you're fed, clothed, given medical care ...
Things That … Make You Go Hmm We want the transition to go as smoothly as possible for you, so you’ll have two choices. .... but given the nature of successful communication in Twitter, ...
OK Go - Wikipedia, the free encyclopedia OK Go is a rock band originally from Chicago, now residing in Los Angeles. ... Also, their song "Do What You Want" was featured in the video games EA Sports ...
Amazon.com: Go It Alone!: The Secret to Building a Successful ... Amazon.com: Go It Alone!: The Secret to Building a Successful Business on Your Own: ... If you are at a point where you want to start your own business. ...
QuickSwitch | Scribd Create a new HTML page to go on your website. We'll call this viewer.html but you can name .... Signup Successful. Now bringing you back... « Back to Login ...
Met Office: Aviation briefing service guide If you want to be able to bookmark the new aviation briefing service index page without having to go through the login screen each time, click the 'Remember ...
CSI: autographs advice and how to be successful - Page 13 - Talk CSI If you are an existing member please login below. ... Page 13 of 13, « First ... Go to the post office with said letter and another envelope for them to ...

Videos:
Introduction to Google Data Jeff Fisher walks through basic history and concepts behind the Google Data protocol. Visit the documentation for more information and list of availa...
Badvertisements: Stealthy Click Fraud with Unwitting Accessories Google Tech Talks September 19, 2006 Dr. Markus Jakobsson, Associate Professor of Informatics at IUB Associate Director of CACR ABSTRACT We descri...
Charlie Rose - Iran / William Safire & Jesse Sheidlower / Yue-Sai Kan Segment 1: A discussion about Iran's nuclear ambitions with guest host Daljit Dhaliwal, Gary Sick of Columbia University, and Joseph Cirincione of t...
www.moldytoaster.com da talaga ng bandang chemical romance fantasygirl08 (10 months ago) Show Hide Marked as spam 0 Good comment Poor comment Reply kinda gee is showing...
www.moldytoaster.com 10 questions that every intelligent Christian must answer 10:44 Added: 1 year ago From: GIIVideo Views: 638,298 All Comments (76429 total) Show: ...
django: Web Development for Perfectionists with Deadlines Google TechTalks April 26, 2006 Jacob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared to Ruby-on...
www.moldytoaster.com MEN WHO ACTUALLY CARE ABOUT THEIR FANS. YOU HAVE NO IDEA HOW MANY LIVES THEY HAVE SAVED FOR THE PAST? 4 (ALMOST 5) YEARS. INCLUDING MINE. I THINK SAV...
www.moldytoaster.com eing faggots just because you aren't secure in your own sexuality? nothing is wrong with being a lesbian. i'm sure you'll get the attention from horn...
WCN # 212 - World Chess News - ( Mitt i Schack ) This episode contains of: * FIDE Grand Prix in Sochi * Arcapita International Chess Championship * IX international Chess Open de Sants * The Europ...
The Written Works: Exploring the From Diary To Dissertation To Democracy The Written Works is a two tiered tale of one students journey into the world of writing.Trying to find it’s value she uncovers things unseen to th...




Search This Site:










running jsmin automatically?

lost search field in editor toolbar

the website appears to be to slow.

help with syntex...

mail thru asp.net in outlook

problems using forms authentication with active directory in asp.net 2.0

active diretory tie in

documentation

delete projects?? recent projects list - can't delete projects from list

add new not showing up on menus, register not avaiable error too

set doctype to strict

list controls

adding data in web.config and checking authentication

protocol error using httpwebrequest

asp to asp.net migration architecture

changing font color for login...

long date time

dollars and cents

does anyone know of code to find uk bank holidays?

installed as a singleblog, it shows community page

contentplaceholders

need help with custom http handlers---urgent!

problem with aps.net 2.0 master page. id's?

unable to cast object of type 'system.dbnull' to type 'system.string'.

upload file problem

cannot open user default database

asp.net automatically encoding html characters

some newbie questions on security implementation.

problems with a null database field

need some help to hide information

 
All Times Are GMT