Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:658759
More Search Options
RSS Available
Matching Posts
LoggedIn Fires, but Redirected Back to Login.aspx
I've done something, but can't figure out what! I need some ideas. My site has been working for months, but suddenly, I can't get "into" my site after logging in. I have a Login page with the LoggedIn event that redirects a successful login to the next page. This is working fine, expect the next page is sending me back to the Login.aspx page. I have not changed the security on the folder or the web.config file for that folder. The only line in the web.config file in that folder
Posted to
Security
(Forum)
by
Bohunkus
on 12/17/2009
Re: LoggedIn Fires, but Redirected Back to Login.aspx
AHA! I just went back to a (barely) older version of my main web.config file, and suddenly the site is working. Now I can compare the two and try to find the issue. I'll post my findings.
Posted to
Security
(Forum)
by
Bohunkus
on 12/17/2009
Re: LoggedIn Fires, but Redirected Back to Login.aspx
Yes, IE8 is accepting cookies. I verified it in the properties and in the Temp folder where cookies are kept. One other thought, I was working with Fiddler2 and using localhost./ to get Fiddler to "see" my localhost server. Just before this the site was working. I remember deleting all cookies and re-logging in, but I don't remember exactly when I started seeing this problem. I was called away for a day when this started... :-( Thanks for your reply. Any other ideas??
Posted to
Security
(Forum)
by
Bohunkus
on 12/17/2009
Re: LoggedIn Fires, but Redirected Back to Login.aspx
I figured it out (finally!). In web.config in the authentication tag area, I have a tag with: <forms loginUrl="..." name="..." domain=".." /> And I had left the domain value set to my production domain! Geez! Once I deleted the domain and value, everything started working as expected. Thank you for your idea. I'll mark this thread appropriately.
Posted to
Security
(Forum)
by
Bohunkus
on 12/17/2009
Re: Filter a Bound GridView with Radio Buttons
First, I'm not sure about the column widths, but as for the column sorting, I have an idea what's going on. The AccessDataSource has the default WHERE clause coded in the markup. When you select a radio button and change the WHERE clause, it does not affect the markup, so a column sort event will rebind to the original (default) WHERE clause. You need to move the logic for the new WHERE clauses (all three of them) to the AccessDataSource's Selecting event. Every time the AccessDataSource
Posted to
Data Presentation Controls
(Forum)
by
Bohunkus
on 11/11/2009
Re: Add row to datagrid
the easiest way is to have the SQL Query get the data from both locations and present it as a single DataTable to your app. Try this: http://www.daniweb.com/forums/thread28614.html which says to use: from [databasename].[owner].[table name] ........ Here's another link to try: http://www.sqlteam.com/article/selecting-data-from-different-databases which says to use the same syntax: You can type something like this from any database: SELECT * FROM pubs.dbo.authors
Posted to
Data Presentation Controls
(Forum)
by
Bohunkus
on 11/3/2009
Re: Using custom queries with FormView
The quick example I created is working, so I'm not sure what is different with your example. If you want me to look at your page(s), you can contact me directly through email by clicking the "Contact" button on any of my replies. The email will go through the ASP.Net site (but not published on the thread), but you can give me your direct addr, and I can reply directly to you with any findings. Otherwise, maybe you can post your code in this thread. It's not ideal, but we can probably
Posted to
Data Presentation Controls
(Forum)
by
Bohunkus
on 11/2/2009
Re: Using custom queries with FormView
[quote user="rtcary"] <SelectParameters> <asp:SessionParameter DefaultValue="null" Name="@ClaimID" SessionField="ClaimID" /> </SelectParameters>[/quote] Or you could try using a dropdownlist to define the WHERE parameter (for the demo version). I believe there are videos on how to do that.
Posted to
Data Presentation Controls
(Forum)
by
Bohunkus
on 11/2/2009
Re: Using custom queries with FormView
Also, glad you are making progress!
Posted to
Data Presentation Controls
(Forum)
by
Bohunkus
on 11/2/2009
Re: Using custom queries with FormView
Checking for null parameters can be done in the Updating event since it is just before the framework tries to use the parameters while accessing the DB.
Posted to
Data Presentation Controls
(Forum)
by
Bohunkus
on 11/2/2009
Page 1 of 59 (587 items) 1
2
3
4
5
Next >
...
Last »
Channel 10:
Faster Solid State Drives for Windows 7 Arrive
ASP.NET:
Death to confirmation dialogs with jquery.undoable
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online