神一样的孤魂大虾,来救救偶吧,oblog模块快把我搞疯了!
偶是一个小小滴菜鸟,刚刚开始学习采集,最近在制作oblog3.1采集模块的时候碰到很棘手的问题,搞的我几天几夜都没有睡好,问题如下:偶在制作完以后,登陆完全正常,而且左边的HTML也显示正常登陆到发布后台,但是在测试模块的时候问题就出来了,不能发布文章,当发布文章测试的时候,显示的居然是用户登陆页面代码,难道是发布文章的时候退出了?
下面是登陆成功出现的信息,后台采用了frame:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" c />
<title>用户管理后台</title></head><frameset rows="*" cols="156,8,*" framespacing="0" frameborder="0" border="false" id="frame" scrolling="yes"><frame name="left" scrolling="auto" marginwidth="0" marginheight="0" src="user_top.asp?actiontype=left"><frame src="user_top.asp?actiontype=center" scrolling="no"><frame name="main" scrolling="auto" marginwidth="0" marginheight="0" src="user_index.asp?actiontype=main"></frameset><noframes></noframes></html>
下面是发表测试文章之后出现的,看代码应该是返回到了用户登陆页面,里面的www.xxx.com代表我网站的网址:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" c />
<title>用户管理登陆</title>
<link href="OblogStyle/OblogStyleAdminLogin.css" rel="stylesheet" type="text/css" />
</head>
<body><form name="reg" method="post" action="login.asp?fromurl=http://www.xxx.com/user_post.asp?action=savelog$t=0" >
<p class="p1"><input name="username" type="text" class="put1" size="25" />
</p>
<p class="p2"><input name="password" type="password" class="put1" size="25" />
</p>
<p class="p3">
<input name="CookieDate" type="radio" value="0" checked="checked" title="若您不在自己的电脑登陆,请不要保存密码" />不保存
<input type="radio" name="CookieDate" value="1" />一天
<input type="radio" name="CookieDate" value="2" />一月
<input type="radio" name="CookieDate" value="3" />一年</p>
<p class="p4"></p>
<div class="but">
<input name="Submit" type="image" src="OblogStyle/OblogStyleAdminImages/login.gif" value="提交"/></div>
<div class="code">
</div></p>
</form>
</body>
</html>
另外偶也看了孤魂大虾之前做的oblog4.0的模块,导入后也未成功,不知道到底错在哪里,再问一个让你见笑的问题,就是那个cookie值怎么获取?因为每次刷新列表的时候老是提示没有获取任何cookie值,希望孤魂大虾不吝赐教,小小的菜鸟在这里先谢过了。 大虾们都不在吗? 大虾们,救救偶吧
回复 #1 柏拉图图 的帖子
内置浏览器获取cookie cookie的问题解决了,但是测试发布文章的以后还是出现用户登陆页面代码,希望再次指教,谢谢 我的发布没问题cookie升级3.2sp2之后老是失败
页:
[1]