473,386 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

After redirect back from 3rd party, session variables lost

Thank you in advance.

[note: the orignal msg posted in another group with no
answer. ]

My ASP page 1 redirect user to third party's website,
after the process at third party is finished, in 3rd
party's page, there is one link to route user back to my
website: ASP page2.

As the user do all of these actions in the same browser, I
expect the user's session variables to be kept, But the
seesion variable are lost.

What is wrong?

Alex

Jul 19 '05 #1
2 4257
Gazing into my crystal ball I observed "Alex"
<an*******@discussions.microsoft.com> writing in news:012a01c39671$a9eb5930
$a*******@phx.gbl:
Thank you in advance.

[note: the orignal msg posted in another group with no
answer. ]

My ASP page 1 redirect user to third party's website,
after the process at third party is finished, in 3rd
party's page, there is one link to route user back to my
website: ASP page2.

As the user do all of these actions in the same browser, I
expect the user's session variables to be kept, But the
seesion variable are lost.

What is wrong?

Alex


When the visitor goes off to the third party sight, and clicks on a link to
come back to your site, they are in reality starting a brand new session,
so bye-bye session varibles.

You'd do better looking for a cookie set on the user's machine. Once you
have determined that the cookie is present, you can then reassign those
session variables. If cookies are going to be an issue, and you can edit
the link back to your site at the third party's site, you could include a
querystring.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 19 '05 #2
Thank you, Adrienne. Your answer is very much appreciated.

BUT, after back from third party with one new session, I
repeat this trip again, at this time, the use can keep the
session. I tried many time, and it is consistant.

Why?
-----Original Message-----
Gazing into my crystal ball I observed "Alex"
<an*******@discussions.microsoft.com> writing in news:012a01c39671$a9eb5930$a*******@phx.gbl:
Thank you in advance.

[note: the orignal msg posted in another group with no
answer. ]

My ASP page 1 redirect user to third party's website,
after the process at third party is finished, in 3rd
party's page, there is one link to route user back to my website: ASP page2.

As the user do all of these actions in the same browser, I expect the user's session variables to be kept, But the
seesion variable are lost.

What is wrong?

Alex
When the visitor goes off to the third party sight, and

clicks on a link tocome back to your site, they are in reality starting a brand new session,so bye-bye session varibles.

You'd do better looking for a cookie set on the user's machine. Once youhave determined that the cookie is present, you can then reassign thosesession variables. If cookies are going to be an issue, and you can editthe link back to your site at the third party's site, you could include aquerystring.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
.

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: BT3 | last post by:
I appreciate the links on the session variables. I had actually hit that and finished the login and supporting pages. Thanks for everything. I noticed that PHP.NET said to do a HEADER Location:...
5
by: Larry Woods | last post by:
I am losing Session variables, but only those that are set in the page previous to a redirect to a secure page. Anyone seen ANY situation where Session variables just "disappear?" Note that...
2
by: Asp Help | last post by:
I'm working on a ASP applicatition to create Windows 2000 users. Because I don't want everybody to have access to the site I've changed te security in IIS 5.0 which runs on a windows 2000 Sp4...
3
by: Peter Row | last post by:
Hi, I better get the background stuff out the way first, so here goes: - Porting a VB6 webclass app to VB.NET using HttpHandlers and FormsAuthentication - When someone visits my site...
3
by: William | last post by:
Hi I have an ASP.NET application that connects to an Access database. Everything works fine except for the Session object. Data in the session object is lost after I've made a call to the...
10
by: Robert | last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into some sporadic viewstate errors...usually saying the viewstate is invalid, eventvalidation failed or mac error. My web...
3
by: Brano | last post by:
HI all, I am looking to post XML data to a particular page and also redirect to the same page. I have coded a WebReqest code in page0 that posts the XML to the page1 and then the page1 in its...
0
by: Dornel | last post by:
Hi all, My session variables are lost when I using response.redirect at first time... In the second time, the problem not exists. example in page 1(create session and redirect): ...
4
Frinavale
by: Frinavale | last post by:
I currently have a website that collects information (mainly text and integers) inputed by users and stores that information into an object which is in turn stored in Session. Each page has its own...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.