Current location: Hot Scripts Forums » General Community » Script Requests » Unable to create a session asp


Unable to create a session asp

Reply
  #1 (permalink)  
Old 09-17-09, 11:19 AM
anatar02 anatar02 is offline
New Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Unable to create a session asp

Hi All,

I am new for development as well as asp; my problem is session’s creation using (parameter).
Say for example

i have form1.asp

<body>
Test Suite Email Form:
<br />
<form method="get" action="simpleform.asp">
First Name: <input type="text" name="fname" /><br />
Last Name: <input type="text" name="lname" /><br /><br />
<input type="submit" value="Submit" />
</form>

form2.asp

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

and

The below set of code is working fine because i am hard coding the values

<%

Session("fname")="I am Working"
Session.Timeout = 100
Response.Write(Session("fname"))%>


so could you please help me on this....

Thanks in advance

Ashok N
Reply With Quote
Reply

Bookmarks

Tags
asp


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP or PHP which is better? nepala The Lounge 9 07-14-10 05:48 AM
Session Security (Continued from post below) nova912 PHP 1 09-05-06 09:29 AM
create php file on the fly and delete when session ends recedo PHP 0 01-06-06 10:28 PM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 09:30 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.