User Profile

Collapse

Profile Sidebar

Collapse
rahemeen
rahemeen
Last Activity: Dec 8 '07, 12:28 PM
Joined: Sep 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rahemeen
    replied to file upload problem
    in .NET
    thanx for the reply

    i checked on ftp folder it has chmode =666 which means read & write permission is there. but i couldnot upload file.

    plz let me know how to overcome this issue.
    See more | Go to post

    Leave a comment:


  • rahemeen
    started a topic file upload problem
    in .NET

    file upload problem

    hi all
    I have a page where i upload image file to web server and my code is as follows
    but when i upload it give error as follow:
    "Access to the path "D:\WEBDATA\... .\....." deneid"

    Code:
      If Not FileUpload1.PostedFile Is Nothing And FileUpload1.PostedFile.ContentLength > 0 Then
                Dim fn As String = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName)
    ...
    See more | Go to post

  • rahemeen
    started a topic file upload problem

    file upload problem

    Hi all.
    I have a page where I upload image file to web server and my code is as follows
    but when I upload it gives an error as follows:
    "Access to the path "D:\WEBDATA\... .\....." denied"

    [CODE=vbnet]
    If Not FileUpload1.Pos tedFile Is Nothing And FileUpload1.Pos tedFile.Content Length > 0 Then
    Dim fn As String = System.IO.Path. GetFileName(Fil eUpload1.Posted File.FileName)...
    See more | Go to post
    Last edited by Killer42; Nov 28 '07, 01:52 AM. Reason: Changed CODE tag to CODE=vbnet

  • rahemeen
    replied to session expires after logged in
    in .NET
    [code=vbnet]
    If Not IsPostBack Then

    If Not Session("USERID ") Is Nothing Then
    If String.Compare( Session("ROLE") , "Retailer") = 0 Then
    strUSERID = Session("USERID ")
    Else
    Response.Redire ct("usercp.aspx ")
    End If
    Else
    Response.Redire ct("UserLogin.a spx")...
    See more | Go to post
    Last edited by Frinavale; Nov 1 '07, 01:10 PM. Reason: Added [code] tags to make more legible

    Leave a comment:


  • rahemeen
    replied to session expires after logged in
    in .NET
    below is my code when in page_load i check session variables and allow page to be browsable plz check the code & let me know is it correct or not.

    //*************** *************** *************** *************** ********
    [code=vbnet]
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArg s) Handles Me.Load
    If Not Session("USERID ") > 0 Then
    Response.Redire ct("UserLogin.a spx")...
    See more | Go to post
    Last edited by Frinavale; Oct 31 '07, 06:27 PM. Reason: Added [code] tags to make more legible

    Leave a comment:


  • rahemeen
    replied to session expires after logged in
    in .NET
    s dear i ran in debug mode also build succeeded and for your information my web application is running fine on my pc. no session expire problem nothing iam able to login and until sign out my page is working fine. no problem working on my pc.but problem is online. after i uploaded my application on web server online this problem i am facing offline on pc i have no prob. with my web application
    See more | Go to post

    Leave a comment:


  • rahemeen
    replied to session expires after logged in
    in .NET
    Visual Studio does not catch any error it perfectly shows build succeeded and that dll iam uploading on server. and i changed web.config file and i did <customErrors mode="On" /> but still no error raising and supposing i have a page to add new poll after logged in i am accessing this page and after filling the form when i click on save button it is going to login page. without saving the data. each logged in user page is i am able...
    See more | Go to post

    Leave a comment:


  • rahemeen
    replied to session expires after logged in
    in .NET
    dear peter
    plz help me out same session expiring very shortly after logging in and i am and my expert friends suggested that may be unhandled exception is causing this session expiry. can you plz tell me how to get rid of unhandled exception or how to know where unhandled exception is raising.

    thanx in advance
    See more | Go to post

    Leave a comment:


  • rahemeen
    replied to session expires after logged in
    in .NET
    i check all settings are fine and the same coding few days back was working fine but now it is giving this problem. in web.config file i am using windows authentication mode. and just loggin check up using database and session variables. below see web.config file (plz reply if any changes required)
    [code=xml]
    <?xml version="1.0"?>
    <!--
    Note: As an alternative to hand editing this file you can use...
    See more | Go to post
    Last edited by Frinavale; Oct 31 '07, 06:25 PM. Reason: Added [code] tags to make more legible

    Leave a comment:


  • rahemeen
    replied to session expires after logged in
    in .NET
    thanks dear plater. i am not that expert so i have no idea about whether sql server handling session timeout or not. and s iam calling session.abondon () in a link button labled 'sign out' on the same page.
    and if user updated and new security restrictions applying then this problem i checked on two different pcs. and mean my page is online and i checked from two different areas. but the same problem
    See more | Go to post

    Leave a comment:


  • rahemeen
    started a topic session expires after logged in
    in .NET

    session expires after logged in

    as i developed a website using asp.net 2 vs2005 with database sqlserver and my website was running fine few days back but now i am getting a problem. i.e
    user is logged in and browsed a page which page is only logged in users can browse and when he runs server side script on that page immediately session expires and user redirected to login page. what causing page to redirect to login page. can anybody explain it and solve my problem....
    See more | Go to post
No activity results to display
Show More
Working...