I have an object that gets created when the first ASP.NET webform, of
the web app, is opened. I need to pass this object to other webforms as
they are opened and keep the scope in the same session. How can I do this?
ThanksHI J,
You can store the object into a Session var and pick it up in following
forms. This works well assuming that the object you are storing is
serializable.
If you're using Server.Transfer() or Server.Excute() you can also use
Context.Items() to store request specific info to pass to transferred pages.
+++ Rick --
--
Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
-----------
Making waves on the Web
"J" <j@.netscape.net> wrote in message
news:ODlq6J5AEHA.3400@.tk2msftngp13.phx.gbl...
> I have an object that gets created when the first ASP.NET webform, of
> the web app, is opened. I need to pass this object to other webforms as
> they are opened and keep the scope in the same session. How can I do
this?
> Thanks
Showing posts with label created. Show all posts
Showing posts with label created. Show all posts
Wednesday, March 21, 2012
Passport Authentication
hi,
I got little problem with authenticating .NET passports on my site.
I installed the SDK, created new application at microsoft, made some pages on site, ....
It looks like loggin in using a passport account works but it says im still not authenticated
Passport.HasTicket << before login = false, after login = true
Passport.IsAuthenticated <<< both cases false :( :( :(
I can find the problem for this :(
Because its for a large ecommerce site, i want to use passport authenticationI dont know if your problem is related to this, but did you know that you should buy the Passport license from MS? Read this thread (http://www.vbforums.com/showthread.php?s=&threadid=244500).
I got little problem with authenticating .NET passports on my site.
I installed the SDK, created new application at microsoft, made some pages on site, ....
It looks like loggin in using a passport account works but it says im still not authenticated
Passport.HasTicket << before login = false, after login = true
Passport.IsAuthenticated <<< both cases false :( :( :(
I can find the problem for this :(
Because its for a large ecommerce site, i want to use passport authenticationI dont know if your problem is related to this, but did you know that you should buy the Passport license from MS? Read this thread (http://www.vbforums.com/showthread.php?s=&threadid=244500).
Labels:
application,
asp,
authenticating,
authentication,
created,
installed,
microsoft,
net,
pages,
passport,
passports,
sdk
Subscribe to:
Posts (Atom)