Results 1 to 2 of 2

Thread: Session issues with asp

  1. #1
    WalkerCook is offline Senior Member
    Join Date
    Dec 2009
    Posts
    253
    Rep Power
    3

    Default Session issues with asp

    i am not able to create a session . This means I am unable to maintain a particular username for the particular time :

    <%
    request.querystring("Swapnil")
    Session("username")=Swapnil
    Session.Timeout = 100
    Response.Write(Session("Swapnil"))
    %>

    any help would be highly appreciated….

  2. #2
    PerezMorris is offline Senior Member
    Join Date
    Dec 2009
    Posts
    250
    Rep Power
    3

    Default

    1) The code should be as follows:

    <%
    Dim strUserName= Request.QueryString("Swapnil")
    Session("username ") = swapnil
    Session.Timeout = 100
    Response.Write(Session("swapnil"))
    %>

    Make the changes in the code. This will help you in maintain your session.

Similar Threads

  1. Session in asp.net
    By MoralesMyers in forum Programming
    Replies: 1
    Last Post: 04-22-2010, 02:52 PM
  2. Session Destroyed in Asp.net
    By MartinWilson in forum Programming
    Replies: 0
    Last Post: 02-13-2010, 02:19 PM
  3. Session Event
    By WilsonMartin in forum Programming
    Replies: 1
    Last Post: 02-02-2010, 05:42 PM
  4. Session issues with asp
    By WalkerCook in forum Programming
    Replies: 0
    Last Post: 01-14-2010, 05:34 PM
  5. Session status
    By brendin44 in forum Everything Else
    Replies: 0
    Last Post: 12-20-2008, 05:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48