Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Preserving Querystring Parameters after LoginPreserving Querystring Parameters after Login
Previous
 
Next
New Post
2/7/2007 12:17 PM
 

Using DNN 4.4.1 - and relatively new to the module development world - and am stuck on this one - I am trying to preserve querystring parameters after logging in.

This is the scenario - building a site that allows one to view "Auctions" - and, if they so choose to "Bid" on an auction, they must be "logged in" to do so.  Everyone that is logged in can view auctions- but when they click the "Bid" button, if they aren't logged in (by checking value of UserId) - I redirect them to the login control.  My desired result is after they login - they should be immediately returned to the ViewAuction page (now logged in) - looking at the same item they were before they logged in (accomplishing this via the querystring parameter passed)...specifically, the interactions looks like this:

This is the page they are on when Viewing the Auctions (querystring used AuctionID/100013):
http://www.reiauctions.com/ViewAuction/tabid/70/AuctionID/100013/Default.aspx

When they click on the "Bid" button, I check to see if they are logged in - if not, I use the NavigateURL() function to direct them to the Same TabId, "login" control AND pass in the AuctionID parameter - so all looks fine thus far - they are now sitting at the login screen with the following in their Address bar:
http://www.reiauctions.com/ViewAuction/tabid/70/ctl/login/AuctionID/100013/Default.aspx

Everything looks good at this point - as my query string still has the AuctionID/100013 - that I built...even mouse-over the "Login" button shows me at the bottom of the IE status window the following:
/ViewAuction/tabid/70/AuctionID/100013/Default.aspx (in the bottom of the IE status bar when I mouse over the Login button) - so I figure I am "golden" - but not so...

When I enter my credentials, and finally hit the "Login" button - my query string AuctionID/100013 is now gone - and I end up at the following URL:
http://www.reiauctions.com/ViewAuction/tabid/70/Default.aspx

Still at the same page, and logged in - but no querystring (AuctionID/100013) to be found...so now I can't pull-up the Auction they were sitting at when they hit the "Bid" button...Any help, suggestions to try?  Appreciate it!!  Thanks.

 
New Post
2/7/2007 10:29 PM
 
went looking through the code behind file for signin.ascx.vb - and found exactly what I was looking for - using the "returnurl" parameter - and it does what I need...
 
New Post
2/8/2007 3:13 AM
 
I have raised this issue with the Core Team in the Benefactors Forum - they are aware of it... I don't think there is much you can do until the LogIn control preserves all the querystring params...

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
3/6/2007 2:13 PM
 
Hello.  I'd like to implement an auction site like yours.  Did you start with any modules/projects?  Can you offer samples/templates?

Thanks.
 
New Post
3/7/2007 11:42 AM
 
Hi,

I am not sure if you mean PokerDIY or not?

If so, I use a mix of core, Smart-Thinker and 3rd party modules, but this is not really the thread to discuss this on - can you start a new one if you wish to discuss it further?

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Preserving Querystring Parameters after LoginPreserving Querystring Parameters after Login


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out