Click here to Skip to main content
15,902,114 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Save file from library class referenced from webservice Pin
anilpal2-Apr-09 19:08
anilpal2-Apr-09 19:08 
GeneralRe: Save file from library class referenced from webservice Pin
AlexeiXX32-Apr-09 19:11
AlexeiXX32-Apr-09 19:11 
GeneralRe: Save file from library class referenced from webservice Pin
anilpal2-Apr-09 19:18
anilpal2-Apr-09 19:18 
GeneralRe: Save file from library class referenced from webservice Pin
AlexeiXX33-Apr-09 8:21
AlexeiXX33-Apr-09 8:21 
GeneralRe: Save file from library class referenced from webservice Pin
anilpal5-Apr-09 21:23
anilpal5-Apr-09 21:23 
AnswerRe: Save file from library class referenced from webservice Pin
AlexeiXX36-Apr-09 5:26
AlexeiXX36-Apr-09 5:26 
Questionunable to retain value of session variable Pin
parkash_C2-Apr-09 9:51
parkash_C2-Apr-09 9:51 
AnswerRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 10:19
Colin Angus Mackay2-Apr-09 10:19 
parkash_C wrote:
if i put cid = 'any direct value' it navigates coreectly


What does that mean? You put cid in multiple places? Do you mean in the session or on the Query String?


parkash_C wrote:
Dim cmd As New OleDbCommand("select stdid,passwrd from table1 where stdid='" & TextBox1.Text & "',passwrd = '" & TextBox1.Text & "'", con)


That code is vulnerable to a SQL Injection attack. Please learn how to protect yourself. Read this for a start: SQL Injection Attacks and Some Tips on How to Prevent Them[^]


parkash_C wrote:
here request.querystring("cid" ) isnt able to read the value


Again, what do you mean by that? Where is that code anyway? Is it in the details.aspx page?


parkash_C wrote:
Dim cmd As New OleDbCommand("select name1,branch,grade from table2 where stdid= " & Request.QueryString("cid"), con)


Again, this is vulnerable to a SQL Injection Attack. You don't even validate your input! A mallicious user could put anything on the Query string and attack your application.


parkash_C wrote:
plz help me out ...


I'm not entirely sure how. I don't understand what is wrong. Your title says "unable to retain value of session variable" but you never attempt to retrieve the session variable anywhere.


GeneralRe: unable to retain value of session variable Pin
parkash_C2-Apr-09 10:32
parkash_C2-Apr-09 10:32 
GeneralRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 11:19
Colin Angus Mackay2-Apr-09 11:19 
GeneralRe: unable to retain value of session variable Pin
parkash_C2-Apr-09 11:26
parkash_C2-Apr-09 11:26 
GeneralRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 12:04
Colin Angus Mackay2-Apr-09 12:04 
GeneralRe: unable to retain value of session variable Pin
parkash_C2-Apr-09 12:11
parkash_C2-Apr-09 12:11 
GeneralRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 12:35
Colin Angus Mackay2-Apr-09 12:35 
GeneralRe: unable to retain value of session variable Pin
Yusuf2-Apr-09 12:30
Yusuf2-Apr-09 12:30 
GeneralRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 12:37
Colin Angus Mackay2-Apr-09 12:37 
GeneralRe: unable to retain value of session variable Pin
parkash_C2-Apr-09 12:49
parkash_C2-Apr-09 12:49 
GeneralRe: unable to retain value of session variable Pin
Yusuf2-Apr-09 13:17
Yusuf2-Apr-09 13:17 
GeneralRe: unable to retain value of session variable Pin
Yusuf2-Apr-09 13:14
Yusuf2-Apr-09 13:14 
GeneralRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 13:31
Colin Angus Mackay2-Apr-09 13:31 
GeneralRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 13:42
Colin Angus Mackay2-Apr-09 13:42 
GeneralRe: unable to retain value of session variable Pin
Yusuf2-Apr-09 16:51
Yusuf2-Apr-09 16:51 
AnswerRe: unable to retain value of session variable Pin
Alok Sharma ji2-Apr-09 13:08
Alok Sharma ji2-Apr-09 13:08 
GeneralRe: unable to retain value of session variable Pin
parkash_C2-Apr-09 13:22
parkash_C2-Apr-09 13:22 
GeneralRe: unable to retain value of session variable Pin
dotnetmember2-Apr-09 21:28
dotnetmember2-Apr-09 21:28 

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.