Click here to Skip to main content
15,900,108 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: add dynamic button Pin
polycom12321-Jun-09 19:37
polycom12321-Jun-09 19:37 
AnswerRe: add dynamic button Pin
Christian Graus21-Jun-09 10:49
protectorChristian Graus21-Jun-09 10:49 
QuestionLogin using sqldatabase Pin
<<Tash18>>20-Jun-09 21:00
<<Tash18>>20-Jun-09 21:00 
AnswerRe: Login using sqldatabase Pin
Manas Bhardwaj20-Jun-09 21:26
professionalManas Bhardwaj20-Jun-09 21:26 
QuestionQuestions and answers about .Net for dummies Pin
HKLC20-Jun-09 18:22
HKLC20-Jun-09 18:22 
AnswerRe: Questions and answers about .Net for dummies Pin
N a v a n e e t h20-Jun-09 19:17
N a v a n e e t h20-Jun-09 19:17 
AnswerRe: Questions and answers about .Net for dummies Pin
Manas Bhardwaj20-Jun-09 21:28
professionalManas Bhardwaj20-Jun-09 21:28 
QuestionHow to use Session-Objects in a AJAX-Site? Pin
bnonym081520-Jun-09 4:06
bnonym081520-Jun-09 4:06 
Hey Guys,

I'm actually programming a little asp.net Homepage in vb, which should work as a File-Management System. This site has a Variable called Path which should allways be the working path. The Path variable is initialized on the page_load event when postback=false. It is saved as new Session("path")=Request.Physicalapplicationpath. When someone changes the path value, the session("path") is going to be updated. This all happens in an AJAX UpdatePanel.

My problem is that somehow the Session("path") Object is deleted --> Session("path") is nothing.
Do I have to edit something at the web.config for this to work? Or is there something wrong with postbacks?

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Page.IsPostBack = True Then
            Path = Session.Item("path")
        Else
            Path = Request.PhysicalApplicationPath & "PublicFiles\"
            Session("path") = Path
            CurrentDir.Text = Path
            GetFiles()
            GetDir()
        End If
 End Sub

AnswerRe: How to use Session-Objects in a AJAX-Site? Pin
Not Active20-Jun-09 4:22
mentorNot Active20-Jun-09 4:22 
QuestionXml to word Pin
koolprasad200320-Jun-09 3:50
professionalkoolprasad200320-Jun-09 3:50 
AnswerRe: Xml to word Pin
Abhijit Jana20-Jun-09 3:55
professionalAbhijit Jana20-Jun-09 3:55 
AnswerRe: Xml to word Pin
Manas Bhardwaj20-Jun-09 4:00
professionalManas Bhardwaj20-Jun-09 4:00 
GeneralRe: Xml to word Pin
koolprasad200321-Jun-09 1:13
professionalkoolprasad200321-Jun-09 1:13 
Questionhow to make the webparts to work for the a project Pin
lakshmichawala20-Jun-09 3:14
lakshmichawala20-Jun-09 3:14 
AnswerRe: how to make the webparts to work for the a project Pin
Abhijit Jana20-Jun-09 3:56
professionalAbhijit Jana20-Jun-09 3:56 
Questionhtmllink in gridview column Pin
vikas shukla20-Jun-09 1:16
vikas shukla20-Jun-09 1:16 
QuestionHelp with JAVA Scripts Pin
AprNgp20-Jun-09 1:09
AprNgp20-Jun-09 1:09 
AnswerRe: Help with JAVA Scripts Pin
Manas Bhardwaj20-Jun-09 3:07
professionalManas Bhardwaj20-Jun-09 3:07 
GeneralRe: Help with JAVA Scripts Pin
AprNgp20-Jun-09 9:30
AprNgp20-Jun-09 9:30 
GeneralRe: Help with JAVA Scripts Pin
Christian Graus20-Jun-09 11:25
protectorChristian Graus20-Jun-09 11:25 
QuestionA bit of Guidance is Required Pin
KhandelwalA19-Jun-09 23:42
KhandelwalA19-Jun-09 23:42 
AnswerRe: A bit of Guidance is Required Pin
Christian Graus19-Jun-09 23:50
protectorChristian Graus19-Jun-09 23:50 
Questionretrieving data through session id's? Pin
shankbond19-Jun-09 19:17
shankbond19-Jun-09 19:17 
AnswerRe: retrieving data through session id's? Pin
Christian Graus19-Jun-09 19:48
protectorChristian Graus19-Jun-09 19:48 
GeneralRe: retrieving data through session id's? Pin
shankbond20-Jun-09 1:55
shankbond20-Jun-09 1:55 

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.