Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Put user in session using membership

Reply
Thread Tools

Put user in session using membership

 
 
Alhambra Eidos Kiquenet
Guest
Posts: n/a
 
      06-05-2008
Hello everyone,

I'm using a provider(Custom Membership), which uses WCF services to
validate the user. Also implement the method GetUser.

In my aspx page of the website used a Login control, and in the web.config I
configured nodes membership using my class CustomMembership.

I want, after validate the user, put User object in Session, with the user
data validated.

How could it do? I do not want to do in that class Membership, is there
some event or Login to do so elsewhere in the web application?

Greetings and thanks in advance.


--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatica...opic.php?p=843
www.trabajobasura.com/solusoft

 
Reply With Quote
 
 
 
 
Munna
Guest
Posts: n/a
 
      06-05-2008
On Jun 5, 2:18 pm, Alhambra Eidos Kiquenet
<(E-Mail Removed) > wrote:
> Hello everyone,
>
> I'm using a provider(Custom Membership), which uses WCF services to
> validate the user. Also implement the method GetUser.
>
> In my aspx page of the website used a Login control, and in the web.config I
> configured nodes membership using my class CustomMembership.
>
> I want, after validate the user, put User object in Session, with the user
> data validated.
>
> How could it do? I do not want to do in that class Membership, is there
> some event or Login to do so elsewhere in the web application?
>
> Greetings and thanks in advance.
>
> --http://www.alhambra-eidos.es/web2005/index.htmlwww.kiquenet.nethttp://www.setbb.com/putainformatica/viewtopic.php?p=843www.trabajobasura.com/solusoft


Hi

Login control has few events one of them is "LoggedIn" which is fired
after a successful login.
subscribe the event and in event handler grap the user and put it in
the session ... besides membership
mechanism is by default suppose to keep user information in a property
called "Page.User.Identity"

MBest of luck

Munna
www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Session to handle Membership - Secure enough? Cirene ASP .Net 1 09-16-2008 10:11 PM
Membership permissions after publishing an ASP.NET Membership site. Tino Donderwinkel ASP .Net 2 06-18-2008 08:16 AM
why does the following with Queue, q.put('\x02', True) not put itin the queue? Gabriel Rossetti Python 3 04-25-2008 03:41 PM
Is it possible to put the instance of ASP user define class into the session Galileo ASP General 0 10-21-2003 08:22 PM
Using object after it has been put in Session Aleksey Dmitriyev ASP .Net 0 10-17-2003 12:34 AM



Advertisments