February 5th, 2012, 11:49 AM
Join Date: Feb 2012
Time spent in forums: 42 m 6 sec
Reputation Power: 0
Client side authorization in asp.net web project
i am developing a server-client program in which server will be showing datas sent by client across a network. without Authentication it works fine but i need some authentication because server side its a website.once i give authentication i am not able to get datas from client.i know that client must be given authorization to put data into server.can anyone tell me how to do that?i am developing based on the link given below
posting server side authentication code
| <authentication mode="Forms"> |
<forms loginUrl="Login.aspx" name=".ASPXFORMSAUTH">
<deny users = "?"/>
<script runat="server"> |
Sub Login_Click(ByVal sender As Object, ByVal e As EventArgs)
If ((UserEmail.Text = "firstname.lastname@example.org") And _
(UserPass.Text = "000")) Then
Msg.Text = "Invalid credentials. Please try again."
i have written validation code also.everything works fine on the server side but not able to get data from client side..
client program is written in c#,client-server communication is via http post.
Last edited by kpshamilsagar : February 5th, 2012 at 12:00 PM.