what about login for the forum site

Posted by Vanchi050585 under Regular Expressions on 1/5/2011 | Points: 10 | Views : 933 | Status : [Member] | Replies : 2
Dear All,

i am new developer for the forum site. i dont know how to handle login details for the forum site.

i mean, all users can view the forums but the login users only can post reply to the forums.


Thanks

Thanks
tvn



Responses

Posted by: T.saravanan on: 1/5/2011 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi,

My suggestion is to use session object you can easily achieve your output.
When will user login a page means set any flag condition in that session object.if guest user reply to any forum means check the condition using session object.Condition true means allow to reply else show a alert message.

Thanks,
T.Saravanan

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 1/5/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
These types of authentication can be easily done using ASP.NET Forms authentication, read more about it http://www.dotnetfunda.com/articles/article114.aspx. Session can be used however it is not the ideal purpose to do this type of work.

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response