Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 26th, 2003, 04:51 AM
Registered User
 
Join Date: Aug 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Difference in PWS and IIS

Hi,
I have 3 pages which does the foll:
a.htm Accepts 2 values from the user and post it to b.asp

b.asp Takes the values through the Request.Form and put it in Seesion Varibles and then Response.redirect to differentapp/c.asp

differentapp/c.asp Prints the Session variables.

If I C the O/p of c.asp I get the proper values of the Session variables (using IIS 5.0). Now the same thing if I try to work in PWS it sometimes work and sometimes not. In PWS if I print the Sess variable in b.asp the values R proper, but as soon as I redirect it to c.asp this doesn't work.

Is there a problem with PWS???

Thanks and regards,

Raj Babar
 
Old September 26th, 2003, 05:14 AM
Authorized User
 
Join Date: Sep 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to balakumar1000
Default

You have said "Response.redirect to differentapp/c.asp".

what is differentapp?. is it a another website or virtual directory. if so how can u expect the session variables there.

Balakumar V.


 
Old September 26th, 2003, 06:59 AM
Registered User
 
Join Date: Aug 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by balakumar1000
 You have said "Response.redirect to differentapp/c.asp".

what is differentapp?. is it a another website or virtual directory. if so how can u expect the session variables there.

Balakumar V.
Hi Balakumar,

differentapp/c.asp is nothing but a different virtual directory, it's not a Different Server. Do U mean to say that the Session Variables are not persistance for different Virtual Directory??


Thanks and regards,

Raj Babar
 
Old September 26th, 2003, 07:09 AM
Authorized User
 
Join Date: Sep 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to balakumar1000
Default

if the virtual directory is an application then the session will not be available..i think...

Balakumar V.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Still having problem with PWS /PHP Meeza BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 3 January 23rd, 2005 06:28 PM
Pws problem Amitava Deewan Classic ASP Databases 4 July 19th, 2004 10:29 AM
My PWS programmed PHP How-To 1 October 18th, 2003 01:41 PM
pws set-up markhardiman Classic ASP Components 0 July 29th, 2003 09:29 AM
PWS + PHP G-Zilla Wrox Book Feedback 2 July 4th, 2003 12:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.