Click here to Skip to main content
15,915,019 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: CheckedBoxList Pin
saravraj13-Jun-07 21:21
saravraj13-Jun-07 21:21 
QuestionSystem.IndexOutOfRangeException: There is no row at position 0 Pin
Sophia Rekhi13-Jun-07 18:58
Sophia Rekhi13-Jun-07 18:58 
AnswerRe: System.IndexOutOfRangeException: There is no row at position 0 Pin
Venkatesh Mookkan13-Jun-07 19:41
Venkatesh Mookkan13-Jun-07 19:41 
GeneralRe: System.IndexOutOfRangeException: There is no row at position 0 Pin
Sophia Rekhi13-Jun-07 19:56
Sophia Rekhi13-Jun-07 19:56 
GeneralRe: System.IndexOutOfRangeException: There is no row at position 0 Pin
Venkatesh Mookkan13-Jun-07 20:05
Venkatesh Mookkan13-Jun-07 20:05 
GeneralRe: System.IndexOutOfRangeException: There is no row at position 0 Pin
Sophia Rekhi13-Jun-07 20:30
Sophia Rekhi13-Jun-07 20:30 
GeneralRe: System.IndexOutOfRangeException: There is no row at position 0 Pin
Venkatesh Mookkan13-Jun-07 20:41
Venkatesh Mookkan13-Jun-07 20:41 
Questionencrypt the coookies Pin
saravanan0513-Jun-07 18:13
saravanan0513-Jun-07 18:13 
If Not IsPostBack Then
'Dim Str As String
'Str = txtusername.Text
'If Not objDatabase Is Nothing And Not Is Nothing Then

'End If

If Not Request.Cookies("UserInfo") Is Nothing Then







txtusername.Text = Request.Cookies("UserInfo")("UserName").ToString()
txtpassword.Attributes.Add("value", Request.Cookies("UserInfo")("Password").ToString())
End If

End If



End Sub


Private Sub butuser_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles butuser.Click

Dim username As String
Dim password1 As String
Dim checkbox As String


username = txtusername.Text
password1 = txtpassword.Text

If (chkplayer.Checked = True) Then
Dim objCookie As New HttpCookie("UserInfo")
objCookie.Values.Add("UserName", txtusername.Text)
objCookie.Values.Add("Password", txtpassword.Text)
objCookie.Expires = DateTime.Now.AddDays(1)
'this is for one day
Response.Cookies.Clear()
Response.Cookies.Add(objCookie)

End If


this my code how can i encrypt the cookies

regards
saravanan

AnswerRe: encrypt the coookies Pin
Sylvester george13-Jun-07 18:28
Sylvester george13-Jun-07 18:28 
QuestionRe: encrypt the coookies Pin
saravanan0513-Jun-07 19:11
saravanan0513-Jun-07 19:11 
AnswerRe: encrypt the coookies Pin
Sylvester george13-Jun-07 19:24
Sylvester george13-Jun-07 19:24 
GeneralRe: encrypt the coookies Pin
saravanan0513-Jun-07 20:08
saravanan0513-Jun-07 20:08 
AnswerRe: encrypt the coookies Pin
Sathesh Sakthivel13-Jun-07 19:29
Sathesh Sakthivel13-Jun-07 19:29 
GeneralRe: encrypt the coookies Pin
saravanan0513-Jun-07 20:09
saravanan0513-Jun-07 20:09 
GeneralRe: encrypt the coookies Pin
Sathesh Sakthivel13-Jun-07 20:13
Sathesh Sakthivel13-Jun-07 20:13 
QuestionRe: encrypt the coookies Pin
saravanan0513-Jun-07 20:26
saravanan0513-Jun-07 20:26 
AnswerRe: encrypt the coookies Pin
Sathesh Sakthivel13-Jun-07 20:30
Sathesh Sakthivel13-Jun-07 20:30 
GeneralRe: encrypt the coookies Pin
saravanan0513-Jun-07 20:34
saravanan0513-Jun-07 20:34 
GeneralRe: encrypt the coookies Pin
Sathesh Sakthivel13-Jun-07 20:37
Sathesh Sakthivel13-Jun-07 20:37 
GeneralRe: encrypt the coookies Pin
saravanan0513-Jun-07 20:41
saravanan0513-Jun-07 20:41 
GeneralRe: encrypt the coookies Pin
Sylvester george13-Jun-07 20:45
Sylvester george13-Jun-07 20:45 
GeneralRe: encrypt the coookies Pin
saravanan0513-Jun-07 20:51
saravanan0513-Jun-07 20:51 
GeneralRe: encrypt the coookies Pin
saravanan0513-Jun-07 21:12
saravanan0513-Jun-07 21:12 
GeneralRe: encrypt the coookies Pin
saravanan0513-Jun-07 21:32
saravanan0513-Jun-07 21:32 
QuestionHelp using CTYPE [modified] Pin
ASPnoob13-Jun-07 17:58
ASPnoob13-Jun-07 17:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.