How to send ASP Session cookies

B

Brian Burgess

Hi all,

Anyone know how to send ASP Session cookies like the following:
'Set-Cookie: ASPSESSIONIDCSBRSDCT=IOLJEPNDANEDGDFGPEKLNGEA; path=/'
using WinInet?

thanks in advance...

-BB
 
B

Bob Barrows

Brian said:
Hi all,

Anyone know how to send ASP Session cookies like the following:
'Set-Cookie: ASPSESSIONIDCSBRSDCT=IOLJEPNDANEDGDFGPEKLNGEA; path=/'
using WinInet?

thanks in advance...

-BB

Create a page that sets the cookie and pass the value to the page in the
WinInet call.

I've never used WinInet so I can't provide details.

HTH,
Bob Barrows
 
B

Brian Burgess

Hi, Thanks,

This is exactly what I am wondering how to do...

Anyone have ideas?

-BB
 
B

Bob Barrows

Can't you use a querystring to pass the value to be set to the called page?

Bob Barrows
 
B

Brian Burgess

Well I'm not sure .. The called page is looking for the value of a
Session variable that is set by the calling page. The Client app is
NOT a browser, but a VB application using WinInet functions. ASP
Sessions are merely session cookies. Since my app is not a browser,
I'm pretty sure that I need to set this session cookie manually on the
called page. However, it seems I'm getting something wrong. Perhaps
just syntactically, but still when the called page is requested, it
doesn't have the Session set.
 
B

Bob Barrows

Oh. I have to bow out of this. I have no expertise here. Hopefully someone
els will step in here and bail me out.

Bob Barrows
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,126
Messages
2,570,750
Members
47,307
Latest member
Wimble

Latest Threads

Top